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


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

Re: Compiler Directive to List Defined Macros?


> Date: Thu, 29 Jun 2000 09:18:38 -0600
> From: Ross Combs <rocombs@cs.nmsu.edu>

> Hmm... I thought it was __func__.  That is why I tried using it in preference
> to __PRETTY_FUNCTION__.  Do you know how you are suppossed to test for it?

Yes, it's __func__.

You can test for the availability of C99 features by seeing if the
macro __STDC_VERSION__ is 199901L or greater.

-- 
- Geoffrey Keating <geoffk@cygnus.com>

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