From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geoff Keating To: rocombs@cs.nmsu.edu Cc: rocombs@cs.nmsu.edu, gcc@gcc.gnu.org Subject: Re: Compiler Directive to List Defined Macros? Date: Thu, 29 Jun 2000 11:38:00 -0000 Message-id: <200006291837.LAA04115@localhost.cygnus.com> References: <200006291518.JAA27421@quito.cs.nmsu.edu> X-SW-Source: 2000-06/msg00761.html > Date: Thu, 29 Jun 2000 09:18:38 -0600 > From: Ross Combs > 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