[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] selective linking of floating point support for *prin
From: |
Eric Blake |
Subject: |
Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf |
Date: |
Fri, 29 Aug 2014 07:20:40 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 |
On 08/29/2014 12:04 AM, Thomas Preud'homme wrote:
>> So are you saying you are stuck with printf_float?
>
> It's not printf_float but _printf_float. I was told double underscore is only
> necessary with old toolchain as they might add a leading underscore. So
> _printf_float should not pose any kind of problem.
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.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf, (continued)
- Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf, Thomas Preud'homme, 2014/08/26
- Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf, Joern Rennecke, 2014/08/26
- Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf, Thomas Preud'homme, 2014/08/27
- Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf, Joern Rennecke, 2014/08/27
- Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf, Thomas Preud'homme, 2014/08/27
- Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf, Joern Rennecke, 2014/08/27
- Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf, Thomas Preud'homme, 2014/08/28
- Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf, Joern Rennecke, 2014/08/28
- Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf, Joern Rennecke, 2014/08/28
- Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf, Thomas Preud'homme, 2014/08/29
- Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf,
Eric Blake <=
- Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf, Grissiom, 2014/08/29
- Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf, Eric Blake, 2014/08/29
- Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf, Eric Blake, 2014/08/29
- Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf, Thomas Preud'homme, 2014/08/30
- Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf, Thomas Preud'homme, 2014/08/30