nano printf + powerpc gcc

Alexander Fedotov alfedotov@gmail.com
Mon Jan 29 08:46:00 GMT 2018


Seems that Eric's proposal to use va_copy() is more straightforward
approach right now to bring back compatibility.
How do you think ? Is there any chances to fix expressions evaluation
it in GCC ?
Alex

On Thu, Jan 25, 2018 at 10:09 PM, Eric Blake <eblake@redhat.com> wrote:
> On 01/25/2018 12:31 PM, Alexander Fedotov wrote:
>> Well if this requires a much of effort I would rather propose to to
>> wrap up these ifdef's by checking architecture.
>> Like #if defined(_PPC_) || defined (__x86_64__) || defined (__amd64__)
>> || defined (__i386__) etc
>
> See my proposal up-thread about an alternative workaround using
> va_copy() rather than _Generic(), where you would not need an #ifdef chain.
>
> --
> Eric Blake, Principal Software Engineer
> Red Hat, Inc.           +1-919-301-3266
> Virtualization:  qemu.org | libvirt.org
>



-- 
Best regards,
AF



More information about the Newlib mailing list