|
- /usr/include/sys/cdefs.h:273: warning: `_POSIX_C_SOURCE' is not defined
- /usr/include/sys/cdefs.h:279: warning: `_POSIX_C_SOURCE' is not defined
复制代码
那个头文件我没改动过的。。
这是那个头文件:
- 265 * In addition, the X/Open Portability Guide, which is now the Single UNIX
- 266 * Specification, defines a feature-test macro which indicates the version of
- 267 * that specification, and which subsumes _POSIX_C_SOURCE.
- 268 *
- 269 * Our macros begin with two underscores to avoid namespace screwage.
- 270 */
- 271
- 272 /* Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1. */
- 273 #if _POSIX_C_SOURCE == 1
- 274 #undef _POSIX_C_SOURCE /* Probably illegal, but beyond caring now. */
- 275 #define _POSIX_C_SOURCE 199009
- 276 #endif
- 277
- 278 /* Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2. */
- 279 #if _POSIX_C_SOURCE == 2
- 280 #undef _POSIX_C_SOURCE
- 281 #define _POSIX_C_SOURCE 199209
- 282 #endif
复制代码
这里已经定义了阿??
- 1 /usr/include/sys/cdefs.h:#define _POSIX_C_SOURCE 199009
- 2 /usr/include/sys/cdefs.h:#define _POSIX_C_SOURCE 199209
- 3 /usr/include/sys/cdefs.h:#define _POSIX_C_SOURCE 200112
- 4 /usr/include/sys/cdefs.h:#define _POSIX_C_SOURCE 199506
- 5 /usr/include/sys/cdefs.h:#if defined(_POSIX_SOURCE) && !defined(_POSIX_C_SOURCE)
- 6 /usr/include/sys/cdefs.h:#define _POSIX_C_SOURCE 198808
- 7 /usr/include/sys/mount.h:#if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)
- 8 /usr/include/sys/_posix.h:#if (!defined(_POSIX_SOURCE) && !defined(_POSIX_C_SOURCE)) || \
- 9 /usr/include/sys/_posix.h: (_POSIX_VERSION >= 199309L && defined(_POSIX_C_SOURCE) && \
复制代码
system is FreeBSD |
|