[cfe-dev] [RFC] Bump up clang's __GNUC_MINOR__

PaX Team pageexec at freemail.hu
Wed May 16 09:01:42 PDT 2012

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.

 PaX Team

More information about the cfe-dev mailing list