Re: How do I disable warnings across versions?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vincent Lefevre <vincent+gcc@xxxxxxxxxx> writes:

> Hmm, yes, these macros are actually used by MPFR. Note that these
> macros are also by Intel's compiler ICC, which tries to emulate
> some GCC features, but doesn't behave exactly like GCC. :( This
> is a problem for portable code.

Unfortunately there is nothing GCC can do to fix that problem.  If we
introduce __GNUC_THIS_IS_THE_REAL_GCC__ then other compilers will define
that as well.

> I wonder why GCC has two different prefixes: __GNUC for the versions
> and __GCC for some other macros.

Historical.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux