Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf

2014-08-29 Thread Grissiom
On Fri, Aug 29, 2014 at 9:20 PM, Eric Blake wrote: > 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 a

Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf

2014-08-29 Thread Eric Blake
On 08/29/2014 10:03 AM, Eric Blake wrote: > 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 i

Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf

2014-08-29 Thread Eric Blake
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 k

Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf

2014-08-29 Thread Eric Blake
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.

Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf

2014-08-29 Thread Thomas Preud'homme
> From: Grissiom [mailto:chaos.pro...@gmail.com] > Sent: Friday, August 29, 2014 11:51 PM > > 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 th

Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf

2014-08-29 Thread Thomas Preud'homme
> -Original Message- > From: gcc-ow...@gcc.gnu.org [mailto:gcc-ow...@gcc.gnu.org] On Behalf > Of Thomas Preud'homme > Sent: Saturday, August 30, 2014 12:27 PM > Mmmh indeed. I checked C99 and section 7.1.3 paragraph 1 third clause > states: > > "All identifiers that begin with an underscor