selective linking of floating point support for *printf / *scanf

Eric Blake eblake@redhat.com
Fri Aug 29 16:03:00 GMT 2014


On 08/29/2014 09:51 AM, Grissiom wrote:
>> Yes, it does.  The namespace reserved for the implementation is _[_A-Z].
>>  The namespace _[a-z] is still available for the user.  Which means the
>> user can declare their own _printf_float, and WE (as the implementation)
>> MUST NOT INTERFERE with it.  Since WE are the implementation, we should
>> use the namespace reserved for us, namely __printf_float.
>>
>>
> You mean _[_a-z] (lower case) is the namespace reserved for implementation,
> right?

No, I spoke correctly.  The namespace reserved for the implementation is
all double underscores, and all single underscore followed by a capital.
 Single underscore followed by a lower case is NOT reserved for the
implementation, and is therefore free for use by the user, and therefore
the implementation must not interfere with the user's use of that namespace.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/newlib/attachments/20140829/74815244/attachment.sig>


More information about the Newlib mailing list