[llvm-commits] REPOST: llvm-gcc expensive checks patch

Chris Lattner clattner at apple.com
Mon Jul 9 23:45:03 PDT 2007


On Jul 9, 2007, at 8:27 PM, Reid Spencer wrote:

> On Mon, 2007-07-09 at 22:05 -0500, David A. Greene wrote:
>> On Monday 09 July 2007 13:04, Chris Lattner wrote:
>>
>>> I applied it:
>>> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-
>>> Mon-20070709/051660.html
>>
>> Danke.
>>
>>> I think that "llvm-config --cppflags" should include "-
>>> D__STDC_LIMIT_MACROS".  What do you think?
>>
>> Yes, if that's what it's compiled with (don't have the sources
>> handy ATM).
>
> $ grep STDC_LIMIT Make*
> Makefile.rules:CPP.BaseFlags += -D_GNU_SOURCE -D__STDC_LIMIT_MACROS

Neither of those are currently included in --cppflags.  These aren't  
things that are configured, they are things required to build LLVM  
headers.

-Chris



More information about the llvm-commits mailing list