[cfe-dev] patch for clang's stdint.h to make it compile with -Werror
James Molloy
james.molloy at arm.com
Wed Apr 11 02:48:34 PDT 2012
Hi,
He's right, stdint.h does generate a load of warnings, but these are
normally surpressed as the driver includes it with -isystem instead of -I.
Berkus, try using -isystem to include clang system headers. There are other
headers as well that are expected to generate warnings as they work around
platform specific issues (they generate warnings so user code doesn't have
to ;) ), and for that reason Clang surpresses most (not all, I don't think)
warnings from them.
Also, are you using a custom, hobby OS by any chance? (Just guessing by your
name I think you're someone I recognise).
Cheers,
James
-----Original Message-----
From: cfe-dev-bounces at cs.uiuc.edu [mailto:cfe-dev-bounces at cs.uiuc.edu] On
Behalf Of Joerg Sonnenberger
Sent: 11 April 2012 10:25
To: cfe-dev at cs.uiuc.edu
Subject: Re: [cfe-dev] patch for clang's stdint.h to make it compile with
-Werror
On Mon, Apr 09, 2012 at 02:26:25PM +0300, berkus infinitus wrote:
> The default stdint.h coming with clang has an issue of producing tons
> on redefinition warnings, which totally makes it unusable with
> -Werror.
It would help to tell at least on what Operating System you see this...
Joerg
_______________________________________________
cfe-dev mailing list
cfe-dev at cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
More information about the cfe-dev
mailing list