C++

35 views
Skip to first unread message

David Morgan

unread,
Jun 2, 2016, 9:20:35 AM6/2/16
to Native-Client-Discuss
Does the NaCl SDK fully support

Fixed width integer types (since C++11)


http://en.cppreference.com/w/cpp/types/integer


Victor Khimenko

unread,
Jun 2, 2016, 9:41:28 AM6/2/16
to Native Client Discuss
Kinda-sorta. PNaCl compiler is modern enough and should support everything, NaCl compiler is old, GCC 4.4-based compiler is older than C++11 and thus does not support <cstdint>

It DOES support C99 stdint.h - with the same types, just without std:: prefix (int32_t, not std::int32_t, etc).

Derek Schuff

unread,
Jun 2, 2016, 12:28:44 PM6/2/16
to Native Client Discuss
The default NaCl newlib compiler in the SDK is clang, and has been for some time. It has full support for C++11.

--
You received this message because you are subscribed to the Google Groups "Native-Client-Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to native-client-di...@googlegroups.com.
To post to this group, send email to native-cli...@googlegroups.com.
Visit this group at https://groups.google.com/group/native-client-discuss.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages