This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: --std vs __intN
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Mon, 9 Jun 2014 11:55:56 +0100
- Subject: Re: --std vs __intN
- Authentication-results: sourceware.org; auth=none
- References: <201406060116 dot s561GQwY005060 at greed dot delorie dot com> <alpine dot DEB dot 2 dot 10 dot 1406060738220 dot 2168 at laptop-mg dot saclay dot inria dot fr> <201406061825 dot s56IPERL028941 at greed dot delorie dot com>
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
:)