¡@

Home 

c++ Programming Glossary: gcc_version

How to detect c++11 support of a compiler with cmake

http://stackoverflow.com/questions/10984442/how-to-detect-c11-support-of-a-compiler-with-cmake

COMMAND CMAKE_C_COMPILER dumpversion OUTPUT_VARIABLE GCC_VERSION if GCC_VERSION VERSION_GREATER 4.7 OR GCC_VERSION VERSION_EQUAL.. dumpversion OUTPUT_VARIABLE GCC_VERSION if GCC_VERSION VERSION_GREATER 4.7 OR GCC_VERSION VERSION_EQUAL 4.7 message.. GCC_VERSION if GCC_VERSION VERSION_GREATER 4.7 OR GCC_VERSION VERSION_EQUAL 4.7 message STATUS C 11 activated. add_definitions..

Detect compiler with #ifdef

http://stackoverflow.com/questions/1233435/detect-compiler-with-ifdef

throw statements on PGI I usually work with gcc which has GCC_VERSION and the like. I can't find any documentation describing these..