home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.27 / text0096.txt < prev    next >
Encoding:
Text File  |  1992-05-20  |  1.0 KB  |  25 lines

  1. Submitted-by: jwag@moose.asd.sgi.com (Chris Wagner)
  2.  
  3. I am trying to figure out the feature test macro for POSIX1003.4 and 4a.
  4. Although draft 12 gives lots of compile-time option constants, it seems
  5. to imply that the only feature test macro is _POSIX_C_SOURCE.
  6. Draft12 seems to imply that as of a certain date (the date of approval
  7. I assume) all the symbols defined in POSIX1003.4 will suddenly be
  8. added to header files such as stdio.h, etc. A user can optionally
  9. set _POSIX_C_SOURCE to an earlier date to preclude certain symbols.
  10. Is this right?? It seems kind of silly to base visibility on date.
  11. I would expect that most  developers will still want to be able
  12. to demand a pure 1003.1 symbol environment.
  13. Is this _POSIX_C_SOURCE just a 1003.4 hack? or has it been
  14. formally adopted at the way the future POSIX stds will
  15. be added to existing headers.
  16.  
  17. It seems to me that each standard should add feature test macros that
  18. can be defined at compile time...(e.g. _POSIX_4SOURCE, etc.)
  19.  
  20. ----
  21. Chris Wagner (jwag@sgi.com)
  22.  
  23. Volume-Number: Volume 27, Number 95
  24.  
  25.