I figured it out eventually with google and experimentation:
GNUC and GNUC_MINOR and GNUC_PATCHLEVEL are defined if you're using gcc, and will allow you to add the compiler version to your Help-About screen if desired (e.g. gcc-3.4.5 or gcc-4.2.1)
_MSC_VER is defined when using the Microsoft Compiler, and for the free 2008 version it is 1500. I think 2005 version is 1400, and so forth.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Are there #defines I can add to my project so that it's easy to switch between the MS compiler and Dev's gcc compiler?
For macros to identify many compilers, target architectures, and operating environments see: http://predef.sourceforge.net/index.php
I figured it out eventually with google and experimentation:
GNUC and GNUC_MINOR and GNUC_PATCHLEVEL are defined if you're using gcc, and will allow you to add the compiler version to your Help-About screen if desired (e.g. gcc-3.4.5 or gcc-4.2.1)
_MSC_VER is defined when using the Microsoft Compiler, and for the free 2008 version it is 1500. I think 2005 version is 1400, and so forth.