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 withinstalled headers ?
On Wed, 2 Jan 2013, Carlos O'Donell wrote:
> I say we agree that 2.95.3 is the oldest compiler we will support
> for compiling userspace applications using glibc headers.
Given that the headers are generally meant to support non-GCC compilers, I
think all you might gain is elimination of cases specifically for older
GCC, so that older GCC uses the same cases as non-GCC. Simply changing
__GNUC_PREREQ (2, 95) to __GNUC__ is hardly a gain. (And where the
older-GCC case is simply an optimization, or where the older-GCC and
non-GCC cases have similar functionality that's not fully conforming, I
think a more recent baseline such as 4.1 would be reasonable.)
--
Joseph S. Myers
joseph@codesourcery.com