This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: --std vs __intN


On 06/06/14 14:25 -0400, DJ Delorie wrote:
To parameterize the libstdc++ stuff, I have gcc export these test
macros (and related ones as needed, which give the actual types and
sizes):

__GLIBCXX_USE_INT_N_0
__GLIBCXX_USE_INT_N_1
__GLIBCXX_USE_INT_N_2
__GLIBCXX_USE_INT_N_3
. . .

N.B. almost all library macros are _GLIBCXX_XXX with only a single
underscore at the beginning. If these are exported by the compiler
then that might be a reason to use a different convention ... but then
maybe it shouldn't use "GLIBCXX" at all. Or maybe it should, I dunno
:)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]