GCC Wikia
Advertisement

このページを編集する際は,編集に関する方針に従ってください.[]

概要[]

実装[]

  24 /* If HAVE_LONG_LONG and SIZEOF_LONG_LONG aren't defined, but
  25    GCC_VERSION >= 3000, assume this is the second or later stage of a
  26    bootstrap, we do have long long, and it's 64 bits.  (This is
  27    required by C99; we do have some ports that violate that assumption
  28    but they're all cross-compile-only.)  Just in case, force a
  29    constraint violation if that assumption is incorrect.  */
30 #if !defined HAVE_LONG_LONG
31 # if GCC_VERSION >= 3000
&color(Silver){32 #  define HAVE_LONG_LONG 1};
33 #  define SIZEOF_LONG_LONG 8
&color(Silver){34 extern char sizeof_long_long_must_be_8[sizeof(long long) == 8 ? 1 : -1];};
35 # endif
36 #endif


リンク元

Advertisement