Identifying GCC in the preprocessor

Ian Pilcher arequipeno@gmail.com
Thu Nov 6 21:56:19 GMT 2025


How can I identify GCC (and not some other rando compiler that has
decided to define __GNUC__) during compilation, so that I can issue a
warning?

This seems to be a lot harder than it should be.

-- 
========================================================================
If your user interface is intuitive in retrospect ... it isn't intuitive
========================================================================



More information about the Gcc-help mailing list