gcc gnu c version macro1 Pre-defined C / C++ Compiler Macros 멀티 플랫폼개발이나 , 컴파일러, 중요 라이브러리들을 점검하고자 할때 위와 같은 미리 정의된 매크로들을 사용한다. 아래의 링크에 잘 정리되어 있다. http://predef.sourceforge.net/ 아래는 GNU C / C++ 의 버전을 체크하는 부분. GNU C/C++ TypeMacroDescription Identification __GNUC__ . Version __GNUC__ Version Version __GNUC_MINOR__ Revision Version __GNUC_PATCHLEVEL__ Patch (introduced in version 3.0) Please note that the meaning of the __GNUC__ macro has changed subtly over th.. 2009. 9. 30. 이전 1 다음