[llvm-commits] [llvm] r58411 - /llvm/trunk/include/llvm/Support/DataTypes.h.in

Bill Wendling isanbard at gmail.com
Wed Oct 29 17:48:34 PDT 2008


On Wed, Oct 29, 2008 at 5:36 PM, Dan Gohman <gohman at apple.com> wrote:
>
> On Oct 29, 2008, at 5:11 PM, Bill Wendling wrote:
>
>>
>> -#if !defined(__STDC_CONSTANT_MACROS)
>> -# error "Must #define __STDC_CONSTANT_MACROS before " \
>> -        "#including Support/DataTypes.h"
>> -#endif
>
> This code was meant to be similar to the code a few lines up.

Yeah, I caught that.

> Where is __STDC_LIMIT_MACROS defined in the SnowLeopard build?
> __STDC_CONSTANT_MACROS should be defined there too.
>
They're both #defined in c++/4.2.1/tr1/cstdint, but I don't think that
that file is being pulled in (otherwise, we wouldn't get the error).
They're also defined in several PCHs. I'm not sure what's happening
here.

-bw



More information about the llvm-commits mailing list