This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: compiler standards (and/or min gcc version) supported with installed headers ?
Mike Frysinger <vapier@gentoo.org> writes:
> On Saturday 29 December 2012 01:26:56 Andrew Pinski wrote:
>> On Fri, Dec 28, 2012 at 10:01 PM, Mike Frysinger <vapier@gentoo.org> wrote:
>> > there are also attributes unconditionally used such as:
>> > stdlib.h: malloc (new to gcc-3.0)
>> > mathcalls.h: nonnull (new to gcc-3.3)
>> > stdlib.h: alloc_size (new to gcc-4.3)
>>
>> unknown attributes are normally ignored even with -W -Wall (though not
>> with -Wattributes) so those should be ok.
>
> yes, but it makes -Werror and such angry,
Only with -Wsystem-headers.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."