Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/124.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 如何检查C++;Linux操作系统中正在使用的版本?_C++_Linux_C++11_Boost_G++ - Fatal编程技术网

C++ 如何检查C++;Linux操作系统中正在使用的版本?

C++ 如何检查C++;Linux操作系统中正在使用的版本?,c++,linux,c++11,boost,g++,C++,Linux,C++11,Boost,G++,我已尝试打印: std::cout << __cplusplus; std::cout << __cplusplus; std::cout << __cplusplus; 如何用上面的输出??< /p>确定C++标准的版本? 或者还有别的办法吗 我发现,像Boo..CONFIG有大量的宏,可以用来测试支持特定C++ 11的特性。 < P>如果你想要C++中的特定特性,你可以使用这里描述的宏: e、 g.您想知道lib chrono是否可用:\uu cpp

我已尝试打印:

std::cout << __cplusplus;
std::cout << __cplusplus;
std::cout << __cplusplus;
如何用上面的输出??< /p>确定C++标准的版本? 或者还有别的办法吗


我发现,像Boo..CONFIG有大量的宏,可以用来测试支持特定C++ 11的特性。

< P>如果你想要C++中的特定特性,你可以使用这里描述的宏: e、 g.您想知道lib chrono是否可用:
\uu cpp\u lib\u chrono
包含一个值
201510

< >使用的C++版本的版本可以通过:<代码>对于c++17,值为“201703”,对于c++14,值为“201402”。但是,如果编译器似乎启用了c++14,您应该记住,并非所有功能都必须存在。有关特定功能,您可以查看上面的宏。问题的这一具体部分在这里已经有了答案:

例如,gcc也有预定义的宏来检查,例如
:uu GNUC_uu

不太清楚您是想在编译时检查还是在编译前检查,就像在配置步骤中一样

如果您想知道配置步骤中的一些内容,您可以编写小型测试程序来测试上述宏,并将结果写入stdout,以便您可以签入gmake或autotools

您还可以通过使用
-D
标志定义宏来检查Makefile中的内容,并与编译器共享该信息

我已尝试打印:

std::cout << __cplusplus;
std::cout << __cplusplus;
std::cout << __cplusplus;

如何确定具有上述输出的版本??或者还有别的办法吗

通常,您会要求编译器将它们提供给您。也可以看到<代码>的输出,回声''包含''g++-xC++ +DM -e-→排序< /COD>。以下是Fedora 25的GCC 6.3版本

通过添加
-march=native
,您可以针对特定CPU调整更多宏。然后,您将看到预处理器定义,如
\uuuuuu AES\uuuuuuuuuuu
\uuuuuupclmul\uuuuuuuuu

$ echo '#include <iostream>' | g++ -x c++ -dM -E - | sort
#define ADJ_ESTERROR 0x0008
#define ADJ_FREQUENCY 0x0002
#define ADJ_MAXERROR 0x0004
#define ADJ_MICRO 0x1000
#define ADJ_NANO 0x2000
#define ADJ_OFFSET 0x0001
#define ADJ_OFFSET_SINGLESHOT 0x8001
#define ADJ_OFFSET_SS_READ 0xa001
#define ADJ_SETOFFSET 0x0100
#define ADJ_STATUS 0x0010
#define ADJ_TAI 0x0080
#define ADJ_TICK 0x4000
#define ADJ_TIMECONST 0x0020
#define _ALLOCA_H 1
#define alloca(size) __builtin_alloca (size)
#define _ALLOCATOR_H 1
#define _ALLOC_TRAITS_H 1
#define __always_inline __inline __attribute__ ((__always_inline__))
#define __amd64 1
#define __amd64__ 1
#define _ANSI_STDDEF_H
#define _ASM_GENERIC_ERRNO_BASE_H
#define _ASM_GENERIC_ERRNO_H
#define __ASMNAME2(prefix,cname) __STRING (prefix) cname
#define __ASMNAME(cname) __ASMNAME2 (__USER_LABEL_PREFIX__, cname)
#define _ATFILE_SOURCE 1
#define __ATOMIC_ACQ_REL 4
#define __ATOMIC_ACQUIRE 2
#define __ATOMIC_CONSUME 1
#define __ATOMIC_HLE_ACQUIRE 65536
#define __ATOMIC_HLE_RELEASE 131072
#define __ATOMIC_RELAXED 0
#define __ATOMIC_RELEASE 3
#define __ATOMIC_SEQ_CST 5
...
#define _T_PTRDIFF
#define _T_PTRDIFF_
#define __try try
#define _T_SIZE
#define _T_SIZE_
#define _T_WCHAR
#define _T_WCHAR_
#define _TYPEINFO
#define __U16_TYPE unsigned short int
#define __U32_TYPE unsigned int
#define __U64_TYPE unsigned long int
#define __u_char_defined
#define __uid_t_defined
#define __UID_T_TYPE __U32_TYPE
#define __UINT16_C(c) c
#define UINT16_C(c) c
#define __UINT16_MAX__ 0xffff
#define UINT16_MAX (65535)
#define __UINT16_TYPE__ short unsigned int
#define UINT16_WIDTH 16
#define __UINT32_C(c) c ## U
#define UINT32_C(c) c ## U
#define __UINT32_MAX__ 0xffffffffU
#define UINT32_MAX (4294967295U)
#define __uint32_t_defined
#define __UINT32_TYPE__ unsigned int
#define UINT32_WIDTH 32
#define __UINT64_C(c) c ## UL
#define UINT64_C(c) c ## UL
#define __UINT64_MAX__ 0xffffffffffffffffUL
#define UINT64_MAX (__UINT64_C(18446744073709551615))
#define __UINT64_TYPE__ long unsigned int
#define UINT64_WIDTH 64
#define __UINT8_C(c) c
#define UINT8_C(c) c
#define __UINT8_MAX__ 0xff
#define UINT8_MAX (255)
#define __UINT8_TYPE__ unsigned char
#define UINT8_WIDTH 8
#define __UINT_FAST16_MAX__ 0xffffffffffffffffUL
#define UINT_FAST16_MAX (18446744073709551615UL)
#define __UINT_FAST16_TYPE__ long unsigned int
#define UINT_FAST16_WIDTH __WORDSIZE
#define __UINT_FAST32_MAX__ 0xffffffffffffffffUL
#define UINT_FAST32_MAX (18446744073709551615UL)
#define __UINT_FAST32_TYPE__ long unsigned int
#define UINT_FAST32_WIDTH __WORDSIZE
#define __UINT_FAST64_MAX__ 0xffffffffffffffffUL
#define UINT_FAST64_MAX (__UINT64_C(18446744073709551615))
#define __UINT_FAST64_TYPE__ long unsigned int
#define UINT_FAST64_WIDTH 64
#define __UINT_FAST8_MAX__ 0xff
#define UINT_FAST8_MAX (255)
#define __UINT_FAST8_TYPE__ unsigned char
#define UINT_FAST8_WIDTH 8
#define __UINT_LEAST16_MAX__ 0xffff
#define UINT_LEAST16_MAX (65535)
#define __UINT_LEAST16_TYPE__ short unsigned int
#define UINT_LEAST16_WIDTH 16
#define __UINT_LEAST32_MAX__ 0xffffffffU
#define UINT_LEAST32_MAX (4294967295U)
#define __UINT_LEAST32_TYPE__ unsigned int
#define UINT_LEAST32_WIDTH 32
#define __UINT_LEAST64_MAX__ 0xffffffffffffffffUL
#define UINT_LEAST64_MAX (__UINT64_C(18446744073709551615))
#define __UINT_LEAST64_TYPE__ long unsigned int
#define UINT_LEAST64_WIDTH 64
#define __UINT_LEAST8_MAX__ 0xff
#define UINT_LEAST8_MAX (255)
#define __UINT_LEAST8_TYPE__ unsigned char
#define UINT_LEAST8_WIDTH 8
#define __UINTMAX_C(c) c ## UL
#define UINTMAX_C(c) c ## UL
#define __UINTMAX_MAX__ 0xffffffffffffffffUL
#define UINTMAX_MAX (__UINT64_C(18446744073709551615))
#define __UINTMAX_TYPE__ long unsigned int
#define UINTMAX_WIDTH 64
#define __u_intN_t(N,MODE) typedef unsigned int u_int ##N ##_t __attribute__ ((__mode__ (MODE)))
#define __UINTPTR_MAX__ 0xffffffffffffffffUL
#define UINTPTR_MAX (18446744073709551615UL)
#define __UINTPTR_TYPE__ long unsigned int
#define UINTPTR_WIDTH __WORDSIZE
#define __ULONG32_TYPE unsigned int
#define __ULONGWORD_TYPE unsigned long int
#define __unix 1
#define __unix__ 1
#define unix 1
#define __UQUAD_TYPE unsigned long int
#define __USE_ATFILE 1
#define __useconds_t_defined
#define __USECONDS_T_TYPE __U32_TYPE
#define __USE_FORTIFY_LEVEL 0
#define __USE_GNU 1
#define __USE_ISOC11 1
#define __USE_ISOC95 1
#define __USE_ISOC99 1
#define __USE_ISOCXX11 1
#define __USE_LARGEFILE 1
#define __USE_LARGEFILE64 1
#define __USE_MISC 1
#define __USE_POSIX 1
#define __USE_POSIX199309 1
#define __USE_POSIX199506 1
#define __USE_POSIX2 1
#define __USER_LABEL_PREFIX__
#define __USE_UNIX98 1
#define __USE_XOPEN 1
#define __USE_XOPEN2K 1
#define __USE_XOPEN2K8 1
#define __USE_XOPEN2K8XSI 1
#define __USE_XOPEN2KXSI 1
#define __USE_XOPEN_EXTENDED 1
#define __USING_NAMESPACE_C99(name)
#define __USING_NAMESPACE_STD(name)
#define __UWORD_TYPE unsigned long int
#define __va_arg_pack() __builtin_va_arg_pack ()
#define __va_arg_pack_len() __builtin_va_arg_pack_len ()
#define _VA_LIST_DEFINED
#define __VERSION__ "7.1.1 20170622 (Red Hat 7.1.1-3)"
#define __WALL 0x40000000
#define __warnattr(msg) __attribute__((__warning__ (msg)))
#define __warndecl(name,msg) extern void name (void) __attribute__((__warning__ (msg)))
#define _WCHAR_H 1
#define __WCHAR_MAX__ 0x7fffffff
#define __WCHAR_MAX __WCHAR_MAX__
#define WCHAR_MAX __WCHAR_MAX
#define __WCHAR_MIN__ (-__WCHAR_MAX__ - 1)
#define __WCHAR_MIN __WCHAR_MIN__
#define WCHAR_MIN __WCHAR_MIN
#define __wchar_t__
#define __WCHAR_T
#define __WCHAR_T__
#define _WCHAR_T
#define _WCHAR_T_
#define _WCHAR_T_DECLARED
#define _WCHAR_T_DEFINED
#define _WCHAR_T_DEFINED_
#define _WCHAR_T_H
#define __WCHAR_TYPE__ int
#define __WCHAR_WIDTH__ 32
#define WCHAR_WIDTH 32
#define __WCLONE 0x80000000
#define __W_CONTINUED 0xffff
#define WCONTINUED 8
#define __WCOREDUMP(status) ((status) & __WCOREFLAG)
#define __WCOREFLAG 0x80
#define _WCTYPE_H 1
#define WEOF (0xffffffffu)
#define __W_EXITCODE(ret,sig) ((ret) << 8 | (sig))
#define WEXITED 4
#define __WEXITSTATUS(status) (((status) & 0xff00) >> 8)
#define WEXITSTATUS(status) __WEXITSTATUS (status)
#define __WIFCONTINUED(status) ((status) == __W_CONTINUED)
#define WIFCONTINUED(status) __WIFCONTINUED (status)
#define WIFEXITED(status) __WIFEXITED (status)
#define __WIFEXITED(status) (__WTERMSIG(status) == 0)
#define __WIFSIGNALED(status) (((signed char) (((status) & 0x7f) + 1) >> 1) > 0)
#define WIFSIGNALED(status) __WIFSIGNALED (status)
#define __WIFSTOPPED(status) (((status) & 0xff) == 0x7f)
#define WIFSTOPPED(status) __WIFSTOPPED (status)
#define __WINT_MAX__ 0xffffffffU
#define WINT_MAX (4294967295u)
#define WINT_MIN (0u)
#define __WINT_MIN__ 0U
#define _WINT_T
#define __WINT_TYPE__ unsigned int
#define __WINT_WIDTH__ 32
#define WINT_WIDTH 32
#define WNOHANG 1
#define __WNOTHREAD 0x20000000
#define WNOWAIT 0x01000000
#define __WORDSIZE 64
#define __WORDSIZE_TIME64_COMPAT32 1
#define __W_STOPCODE(sig) ((sig) << 8 | 0x7f)
#define WSTOPPED 2
#define __WSTOPSIG(status) __WEXITSTATUS(status)
#define WSTOPSIG(status) __WSTOPSIG (status)
#define __WTERMSIG(status) ((status) & 0x7f)
#define WTERMSIG(status) __WTERMSIG (status)
#define WUNTRACED 2
#define __wur
#define __x86_64 1
#define __x86_64__ 1
#define _XLOCALE_H 1
#define _XOPEN_SOURCE 700
#define _XOPEN_SOURCE_EXTENDED 1

您还可以使用C++版本的不同版本,使用<代码> -STD= C++ 03 ,<代码> -STD= C++ 11 ,<代码> -STD= C++ 14 等>

$ echo '#include <iostream>' | g++ -x c++ -dM -E - | sort
#define ADJ_ESTERROR 0x0008
#define ADJ_FREQUENCY 0x0002
#define ADJ_MAXERROR 0x0004
#define ADJ_MICRO 0x1000
#define ADJ_NANO 0x2000
#define ADJ_OFFSET 0x0001
#define ADJ_OFFSET_SINGLESHOT 0x8001
#define ADJ_OFFSET_SS_READ 0xa001
#define ADJ_SETOFFSET 0x0100
#define ADJ_STATUS 0x0010
#define ADJ_TAI 0x0080
#define ADJ_TICK 0x4000
#define ADJ_TIMECONST 0x0020
#define _ALLOCA_H 1
#define alloca(size) __builtin_alloca (size)
#define _ALLOCATOR_H 1
#define _ALLOC_TRAITS_H 1
#define __always_inline __inline __attribute__ ((__always_inline__))
#define __amd64 1
#define __amd64__ 1
#define _ANSI_STDDEF_H
#define _ASM_GENERIC_ERRNO_BASE_H
#define _ASM_GENERIC_ERRNO_H
#define __ASMNAME2(prefix,cname) __STRING (prefix) cname
#define __ASMNAME(cname) __ASMNAME2 (__USER_LABEL_PREFIX__, cname)
#define _ATFILE_SOURCE 1
#define __ATOMIC_ACQ_REL 4
#define __ATOMIC_ACQUIRE 2
#define __ATOMIC_CONSUME 1
#define __ATOMIC_HLE_ACQUIRE 65536
#define __ATOMIC_HLE_RELEASE 131072
#define __ATOMIC_RELAXED 0
#define __ATOMIC_RELEASE 3
#define __ATOMIC_SEQ_CST 5
...
#define _T_PTRDIFF
#define _T_PTRDIFF_
#define __try try
#define _T_SIZE
#define _T_SIZE_
#define _T_WCHAR
#define _T_WCHAR_
#define _TYPEINFO
#define __U16_TYPE unsigned short int
#define __U32_TYPE unsigned int
#define __U64_TYPE unsigned long int
#define __u_char_defined
#define __uid_t_defined
#define __UID_T_TYPE __U32_TYPE
#define __UINT16_C(c) c
#define UINT16_C(c) c
#define __UINT16_MAX__ 0xffff
#define UINT16_MAX (65535)
#define __UINT16_TYPE__ short unsigned int
#define UINT16_WIDTH 16
#define __UINT32_C(c) c ## U
#define UINT32_C(c) c ## U
#define __UINT32_MAX__ 0xffffffffU
#define UINT32_MAX (4294967295U)
#define __uint32_t_defined
#define __UINT32_TYPE__ unsigned int
#define UINT32_WIDTH 32
#define __UINT64_C(c) c ## UL
#define UINT64_C(c) c ## UL
#define __UINT64_MAX__ 0xffffffffffffffffUL
#define UINT64_MAX (__UINT64_C(18446744073709551615))
#define __UINT64_TYPE__ long unsigned int
#define UINT64_WIDTH 64
#define __UINT8_C(c) c
#define UINT8_C(c) c
#define __UINT8_MAX__ 0xff
#define UINT8_MAX (255)
#define __UINT8_TYPE__ unsigned char
#define UINT8_WIDTH 8
#define __UINT_FAST16_MAX__ 0xffffffffffffffffUL
#define UINT_FAST16_MAX (18446744073709551615UL)
#define __UINT_FAST16_TYPE__ long unsigned int
#define UINT_FAST16_WIDTH __WORDSIZE
#define __UINT_FAST32_MAX__ 0xffffffffffffffffUL
#define UINT_FAST32_MAX (18446744073709551615UL)
#define __UINT_FAST32_TYPE__ long unsigned int
#define UINT_FAST32_WIDTH __WORDSIZE
#define __UINT_FAST64_MAX__ 0xffffffffffffffffUL
#define UINT_FAST64_MAX (__UINT64_C(18446744073709551615))
#define __UINT_FAST64_TYPE__ long unsigned int
#define UINT_FAST64_WIDTH 64
#define __UINT_FAST8_MAX__ 0xff
#define UINT_FAST8_MAX (255)
#define __UINT_FAST8_TYPE__ unsigned char
#define UINT_FAST8_WIDTH 8
#define __UINT_LEAST16_MAX__ 0xffff
#define UINT_LEAST16_MAX (65535)
#define __UINT_LEAST16_TYPE__ short unsigned int
#define UINT_LEAST16_WIDTH 16
#define __UINT_LEAST32_MAX__ 0xffffffffU
#define UINT_LEAST32_MAX (4294967295U)
#define __UINT_LEAST32_TYPE__ unsigned int
#define UINT_LEAST32_WIDTH 32
#define __UINT_LEAST64_MAX__ 0xffffffffffffffffUL
#define UINT_LEAST64_MAX (__UINT64_C(18446744073709551615))
#define __UINT_LEAST64_TYPE__ long unsigned int
#define UINT_LEAST64_WIDTH 64
#define __UINT_LEAST8_MAX__ 0xff
#define UINT_LEAST8_MAX (255)
#define __UINT_LEAST8_TYPE__ unsigned char
#define UINT_LEAST8_WIDTH 8
#define __UINTMAX_C(c) c ## UL
#define UINTMAX_C(c) c ## UL
#define __UINTMAX_MAX__ 0xffffffffffffffffUL
#define UINTMAX_MAX (__UINT64_C(18446744073709551615))
#define __UINTMAX_TYPE__ long unsigned int
#define UINTMAX_WIDTH 64
#define __u_intN_t(N,MODE) typedef unsigned int u_int ##N ##_t __attribute__ ((__mode__ (MODE)))
#define __UINTPTR_MAX__ 0xffffffffffffffffUL
#define UINTPTR_MAX (18446744073709551615UL)
#define __UINTPTR_TYPE__ long unsigned int
#define UINTPTR_WIDTH __WORDSIZE
#define __ULONG32_TYPE unsigned int
#define __ULONGWORD_TYPE unsigned long int
#define __unix 1
#define __unix__ 1
#define unix 1
#define __UQUAD_TYPE unsigned long int
#define __USE_ATFILE 1
#define __useconds_t_defined
#define __USECONDS_T_TYPE __U32_TYPE
#define __USE_FORTIFY_LEVEL 0
#define __USE_GNU 1
#define __USE_ISOC11 1
#define __USE_ISOC95 1
#define __USE_ISOC99 1
#define __USE_ISOCXX11 1
#define __USE_LARGEFILE 1
#define __USE_LARGEFILE64 1
#define __USE_MISC 1
#define __USE_POSIX 1
#define __USE_POSIX199309 1
#define __USE_POSIX199506 1
#define __USE_POSIX2 1
#define __USER_LABEL_PREFIX__
#define __USE_UNIX98 1
#define __USE_XOPEN 1
#define __USE_XOPEN2K 1
#define __USE_XOPEN2K8 1
#define __USE_XOPEN2K8XSI 1
#define __USE_XOPEN2KXSI 1
#define __USE_XOPEN_EXTENDED 1
#define __USING_NAMESPACE_C99(name)
#define __USING_NAMESPACE_STD(name)
#define __UWORD_TYPE unsigned long int
#define __va_arg_pack() __builtin_va_arg_pack ()
#define __va_arg_pack_len() __builtin_va_arg_pack_len ()
#define _VA_LIST_DEFINED
#define __VERSION__ "7.1.1 20170622 (Red Hat 7.1.1-3)"
#define __WALL 0x40000000
#define __warnattr(msg) __attribute__((__warning__ (msg)))
#define __warndecl(name,msg) extern void name (void) __attribute__((__warning__ (msg)))
#define _WCHAR_H 1
#define __WCHAR_MAX__ 0x7fffffff
#define __WCHAR_MAX __WCHAR_MAX__
#define WCHAR_MAX __WCHAR_MAX
#define __WCHAR_MIN__ (-__WCHAR_MAX__ - 1)
#define __WCHAR_MIN __WCHAR_MIN__
#define WCHAR_MIN __WCHAR_MIN
#define __wchar_t__
#define __WCHAR_T
#define __WCHAR_T__
#define _WCHAR_T
#define _WCHAR_T_
#define _WCHAR_T_DECLARED
#define _WCHAR_T_DEFINED
#define _WCHAR_T_DEFINED_
#define _WCHAR_T_H
#define __WCHAR_TYPE__ int
#define __WCHAR_WIDTH__ 32
#define WCHAR_WIDTH 32
#define __WCLONE 0x80000000
#define __W_CONTINUED 0xffff
#define WCONTINUED 8
#define __WCOREDUMP(status) ((status) & __WCOREFLAG)
#define __WCOREFLAG 0x80
#define _WCTYPE_H 1
#define WEOF (0xffffffffu)
#define __W_EXITCODE(ret,sig) ((ret) << 8 | (sig))
#define WEXITED 4
#define __WEXITSTATUS(status) (((status) & 0xff00) >> 8)
#define WEXITSTATUS(status) __WEXITSTATUS (status)
#define __WIFCONTINUED(status) ((status) == __W_CONTINUED)
#define WIFCONTINUED(status) __WIFCONTINUED (status)
#define WIFEXITED(status) __WIFEXITED (status)
#define __WIFEXITED(status) (__WTERMSIG(status) == 0)
#define __WIFSIGNALED(status) (((signed char) (((status) & 0x7f) + 1) >> 1) > 0)
#define WIFSIGNALED(status) __WIFSIGNALED (status)
#define __WIFSTOPPED(status) (((status) & 0xff) == 0x7f)
#define WIFSTOPPED(status) __WIFSTOPPED (status)
#define __WINT_MAX__ 0xffffffffU
#define WINT_MAX (4294967295u)
#define WINT_MIN (0u)
#define __WINT_MIN__ 0U
#define _WINT_T
#define __WINT_TYPE__ unsigned int
#define __WINT_WIDTH__ 32
#define WINT_WIDTH 32
#define WNOHANG 1
#define __WNOTHREAD 0x20000000
#define WNOWAIT 0x01000000
#define __WORDSIZE 64
#define __WORDSIZE_TIME64_COMPAT32 1
#define __W_STOPCODE(sig) ((sig) << 8 | 0x7f)
#define WSTOPPED 2
#define __WSTOPSIG(status) __WEXITSTATUS(status)
#define WSTOPSIG(status) __WSTOPSIG (status)
#define __WTERMSIG(status) ((status) & 0x7f)
#define WTERMSIG(status) __WTERMSIG (status)
#define WUNTRACED 2
#define __wur
#define __x86_64 1
#define __x86_64__ 1
#define _XLOCALE_H 1
#define _XOPEN_SOURCE 700
#define _XOPEN_SOURCE_EXTENDED 1
<代码> $ $包含“`g++-xC+++DM -e-→排序” #定义调整错误0x0008 #定义调整频率0x0002 #定义调整最大错误0x0004 #定义ADJ_MICRO 0x1000 #定义ADJ_NANO 0x2000 #定义调整偏移量0x0001 #定义调整偏移量单镜头0x8001 #定义调整偏移量读取0xa001 #定义调整设置偏移量0x0100 #定义调整状态0x0010 #定义ADJ_TAI 0x0080 #定义调整勾号0x4000 #定义调整时间常数0x0020 #定义_ALLOCA_H 1 #定义alloca(大小)\内置\u alloca(大小) #定义_分配器_h1 #定义所有特性1 #定义uuu始终u内联uuu内联uuu属性uuu((uuu始终u内联uuu)) #定义amd64 1 #定义amd64\1 #定义ANSI标准 #定义\u ASM\u GENERIC\u ERRNO\u BASE\u H #定义\u ASM\u通用\u错误\u H #定义_ASMNAME2(前缀,cname)_字符串(前缀)cname #定义uuasmname(cname)uuuuasmname 2(uuuu用户u标签uuu前缀uuuu,cname) #定义文件源1 #定义原子ACQ REL 4 #定义原子获取2 #定义原子消耗1 #定义原子操作获取65536 #定义"原子"操作"版本131072 #定义原子0 #定义原子版本3 #定义原子顺序CST 5 ... #定义\u T\u PTRDIFF #定义\u T\u PTRDIFF_ #定义uuu尝试 #定义大小 #定义大小_ #定义\u T\u WCHAR #定义\u T\u WCHAR_ #定义类型信息 #定义U16_类型无符号短整型 #定义U32_类型无符号整数 #定义64_类型无符号长整型 #定义字符定义 #定义\uuuu uid\uu t\u定义 #定义UID类型U32类型 #定义uu UINT16_uc(C)C #定义UINT16_C(C)C #定义最大值0xffff #定义UINT16_最大值(65535) #定义uuuint16_uuuu类型uuuuu短无符号整数 #定义UINT16_宽度16 #定义U UINT32_C(C)C##U #定义UINT32_C(C)C#U #定义最大值0xffffffffU #定义UINT32_最大值(4294967295U) #定义\uuuu uint32\uu t\u定义 #定义无符号整数 #定义UINT32_宽度32 #定义uu UINT64_uc(C)C##UL #定义UINT64_C(C)C#UL #定义最大值为0xFFFFFFFFFFFFFFUL #定义UINT64_最大值(UINT64_C(18446744073709551615)) #定义长无符号整数 #定义UINT64_宽度64 #定义uuu UINT8_uc(C)C #定义UINT8_C(C)C #定义最大值0xff #定义UINT8_最大值(255) #定义无符号字符 #定义UINT8_宽度8 #定义快速16最大0xFFFFFFFFFFFFUL #定义UINT_FAST16_最大值(18446744073709551615UL) #定义长无符号整数 #定义UINT\u FAST16\u宽度\u字号 #定义快速32最大0xFFFFFFFFFFFFFFUL #定义UINT_FAST32_MAX(18446744073709551615UL) #定义长无符号整数 #定义UINT\u FAST32\u宽度\u字号 #定义快速64最大0xFFFFFFFFFFFFFFUL #定义UINT_FAST64_MAX(UINT64_C(18446744073709551615)) #定义长无符号整数 #定义UINT\U FAST64\U宽度64 #定义快速8最大0xff #定义UINT\U FAST8\U最大值(255) #定义无符号字符 #定义UINT\U FAST8\U宽度8 #定义至少16个最大值0xffff #定义最小值16最大值(65535) #定义uuu UINT u LEAST16 u TYPE uuuu短无符号整数 #定义UINT_最小16_宽度16 #定义最小32最大0xffffffffU #定义UINT_最小值32_最大值(4294967295U) #定义不带符号的整数 #定义UINT_最小32_宽度32 #定义至少64个最大值0xFFFFFFFFFFFFFFUL #定义最小值64最大值(18446744073709551615) #定义长无符号整数 #定义UINT_最小64_宽度64 #定义最小8最大0xff #定义UINT_最小值8_最大值(255) #定义\uuuu UINT\u LEAST8\u类型\uuuu无符号字符 #定义最小宽度8 #定义uu UINTMAX_uc(C)C##UL #定义UINTMAX_C(C)C#UL #定义最大值0xFFFFFFFFFFFFUL #定义UINTMAX_MAX(uu UINT64_C(18446744073709551615)) #定义_UINTMAX_类型_长无符号整数 #定义UINTMAX_宽度64 #定义uu_u_u_u_N_ut(N,MODE)typedef unsigned intu_uint##N##u t u属性((u_umode_u(MODE))) #定义