Predefined macros?

Dave Williss dwilliss@microimages.com
Tue Sep 17 10:06:00 GMT 2002


Are there any predefined macro constants that I can use in ifdefs to
determine which version of gcc is doing the compiling?

I have some code which needs to compile one way if using gcc 3.1 or later
and another way if using 2.95.

 -- Dave Williss
------
Meddle not in the affairs of dragons,
   for you are crunchy and taste good with catsup




More information about the Gcc-help mailing list