This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: nano printf + powerpc gcc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]