[cfe-dev] minimum glibc (on Linux) needed to work with clang in -c99 mode?

Eli Friedman eli.friedman at gmail.com
Wed Dec 15 14:17:05 PST 2010


On Wed, Dec 15, 2010 at 10:52 AM, Ted Kremenek <kremenek at apple.com> wrote:
> Hi everyone,
>
> On Linux, is there a minimum glibc version needed to work with clang in -c99 mode?  A Linux user mentioned to me an issue with sysmacros.h, which defines gnu_dev_major slightly differently between different versions of glibc (basically the usage of the 'inline' keyword is different, likely to deal with compatibility issues between c89 and c99).

I think you're talking about http://llvm.org/bugs/show_bug.cgi?id=5960
?  I don't know the precise version, though.

-Eli




More information about the cfe-dev mailing list