pragma change breaks build

Paul Eggert eggert@cs.ucla.edu
Mon Apr 27 22:44:00 GMT 2015


David Miller wrote:
> instead of just adding a "= 0" initializer to vallen so
> that all gcc's will not warn

That could cause glibc to have a useless machine instruction, no?  Horrors!

Does the attached patch work for you?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-stdlib-setenv.c-Pacify-only-GCC-4.7-and-later.patch
Type: text/x-patch
Size: 1902 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150427/4b68886a/attachment.bin>


More information about the Libc-alpha mailing list