<br><br><div class="gmail_quote"><div dir="ltr">On Sun, Jun 19, 2016, 17:57 Joerg Sonnenberger <<a href="mailto:joerg@bec.de">joerg@bec.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, Jun 19, 2016 at 03:24:22PM +0000, PaweÅ‚ Bylica via llvm-dev wrote:<br>
> Hi LLVM,<br>
><br>
> I want to complain a bit about the quality of the code included in the<br>
> public LLVM headers. For projects that depend on LLVM is really hard to<br>
> just include LLVM headers not to trigger tons of warnings.<br>
><br>
> Moreover, the is this issue that you have to define __STDC_LIMIT_MACROS and<br>
> __STDC_CONSTANT_MACROS everywhere just to include single DataTypes.h.<br>
> Strangely, it seems to be required only when compiling with clang, not with<br>
> GCC.<br>
><br>
> Can we do anything to improve the situation?<br>
><br>
> I have just one idea, to add unittests that only include public headers<br>
> with higher compiler restrictions than for LLVM code in .cpp files.<br>
<br>
Get a system with C++11 compliant system headers.<br></blockquote></div><div><br></div><div>What do you mean exactly? How is this related?</div><div><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Joerg<br>
</blockquote></div>