On Sun, Oct 07, 2012 at 04:52:30PM -0700, Jonathan Nieder wrote:
> Hi Josh,
> 
> Josh Triplett wrote:
> 
> > However, for compilers that identify themselves as GCC (which includes
> > many non-GCC compilers), sys/types.h does this instead:
> >
> > # define __intN_t(N, MODE) \
> >   typedef int int##N##_t __attribute__ ((__mode__ (MODE)))
> 
> The condition used is
> 
>       #if !__GNUC_PREREQ (2, 7)
> 
> Which compiler are you using?  Is its identifying itself as gcc >= 2.7
> intentional?

c2hs, which uses GCC's preprocessor.  And many other non-GCC compilers
identify themselves as GCC as well, because they support a subset of
GCC's extensions.

- Josh Triplett


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/20121008015910.GA8836@leaf

Reply via email to