home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: jwag@moose.asd.sgi.com (Chris Wagner)
-
- I am trying to figure out the feature test macro for POSIX1003.4 and 4a.
- Although draft 12 gives lots of compile-time option constants, it seems
- to imply that the only feature test macro is _POSIX_C_SOURCE.
- Draft12 seems to imply that as of a certain date (the date of approval
- I assume) all the symbols defined in POSIX1003.4 will suddenly be
- added to header files such as stdio.h, etc. A user can optionally
- set _POSIX_C_SOURCE to an earlier date to preclude certain symbols.
- Is this right?? It seems kind of silly to base visibility on date.
- I would expect that most developers will still want to be able
- to demand a pure 1003.1 symbol environment.
- Is this _POSIX_C_SOURCE just a 1003.4 hack? or has it been
- formally adopted at the way the future POSIX stds will
- be added to existing headers.
-
- It seems to me that each standard should add feature test macros that
- can be defined at compile time...(e.g. _POSIX_4SOURCE, etc.)
-
- ----
- Chris Wagner (jwag@sgi.com)
-
- Volume-Number: Volume 27, Number 95
-
-