[Cfp-interest] Part 1 WANT macro

Jim Thomas jaswthomas at sbcglobal.net
Mon Oct 8 10:32:12 PDT 2012


In Part 1 we have
"The library functions, macros, and types defined in Part 1 of this Technical Specification are defined by their respective headers if the macro __STDC_WANT_IEC_60559_BFP__ is defined at the point in the source file where the appropriate header is first included."

These word are not in a suggested change to C11, but we do show 

#define __STDC_WANT_IEC_60559_BFP__

in all the Synopses in Part 1, even for the new interfaces for C11 clause 7 intended for all implementations.

We might have confused ourselves (at least one of us did). This WANT macro does not control IEC 60559 (binary) interfaces, as the name suggests, but rather the extension interfaces defined in Part 1. A better name might be something like __STDC_WANT_nnn_EXT__, where nnn is the ISO/IEC reference number that identifies Part 1 of our TS. Note that this WANT macro has nothing to do with existing interfaces. Note, also, that it has nothing to do with our new semantics, which are controlled by the implementation macro  __STDC_IEC_60559_BFP__.

-Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.oakapple.net/pipermail/cfp-interest/attachments/20121008/55a129f8/attachment.html 


More information about the Cfp-interest mailing list