Wednesday, September 3, 2014

C preprocessor:Predefined Macros

Standard Predefined Macros

  • __FILE__
  • __LINE__
  • __DATE_
  • __TIME_
  • __STDC__
  • __STDC_VERSION__
  • __STDC_HOSTED__
  • __cplusplus
  • __OBJC__


Common Predefined Macros

  • __GNUC__
  • __CNUC_MINOR__
  • __GNUC_PATCHLEVEL__
  • __GNUG__
  • __STRICT_ANSI__
  • __BASE_FILE__
  • __INCLUDE_LEVEL__
  • __ELF__
  • __VERSION__
  • __OPTIMIZE__
  • __OPTIMIZE_SIZE__
  • __NO_INLINE__
  • __CHAR_UNSIGNED__
  • __WCHAR_UNSIGNED__
  • __REGISTER_PREFIX__
  • __USER_LABEL_PREFIX__
  • __SIZE_TYPE__
  • __PTRDIFF_TYPE__
  • __WCHAR_TYPE__
  • __WINT_TYPE__
  • __INTMAX_TYPE__
  • __UINTMAX_TYPE__
  • __CHAR_BIT__
  • __SCHAR_MAX__
  • __WCHAR_MAX__
  • __SHRT_MAX__
  • __LONG_MAX__
  • __LONG_LONG_MAX__
  • __IINTMAX_MAX__
  • __DEPRECATED
  • __EXCEPTIONS
  • __USING_SJLJ_EXCEPTIONS__
  • __GXX_WEAK__
  • __NEXT_RUNTIME__
  • __LP64__
  • _LP64
  • __SSP__
  • __SSP_ALL__

No comments: