[Top][All Lists]

[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: Grissiom
Subject: Re: [avr-libc-dev] selective linking of floating point support for *printf / *scanf
Date: Fri, 29 Aug 2014 23:51:03 +0800

On Fri, Aug 29, 2014 at 9:20 PM, Eric Blake <address@hidden> 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 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.
You mean _[_a-z] (lower case) is the namespace reserved for implementation,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]