[cfe-dev] [RFC] Bump up clang's __GNUC_MINOR__
chandlerc at google.com
Wed May 16 10:04:38 PDT 2012
On Wed, May 16, 2012 at 10:01 AM, PaX Team <pageexec at freemail.hu> wrote:
> On 16 May 2012 at 15:19, Benjamin Kramer wrote:
> > So far we got away rather well with only implementing a more or less
> > sane subset of gcc extensions even if our GNUC_MINOR suggests that we
> > support all of them up to gcc 4.2 (including __builtin_apply and
> > nested functions). So now thanks to the piece of software glibc is
> > we're stuck at gcc 4.2 even though our subset of extensions expands
> > greatly beyond that.
> have you considered making the simulated/claimed gcc version configurable
> on the clang command line? this way distros/etc could just set it in the
> CFLAGS used for compiling glibc, so it'd be a very simple change in the
> existing build/packaging systems.
This isn't about compiling glibc, it's about compiling the *public glibc
headers*. As a consequence, any code which (transitively) includes a glibc
header would break.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev