[llvm-commits] [llvm] r58048 - in /llvm/trunk: include/llvm/Support/DataTypes.h.in win32/VMCore/VMCore.vcproj win32/clang.sln

Ted Kremenek kremenek at apple.com
Fri Oct 24 10:35:43 PDT 2008


On Oct 23, 2008, at 4:28 PM, Steve Naroff wrote:

> =
> =
> =
> =
> =
> =
> =
> =
> ======================================================================
> --- llvm/trunk/include/llvm/Support/DataTypes.h.in (original)
> +++ llvm/trunk/include/llvm/Support/DataTypes.h.in Thu Oct 23  
> 18:28:23 2008
> @@ -37,6 +37,11 @@
> # error "Must #define __STDC_LIMIT_MACROS before #including Support/ 
> DataTypes.h"
> #endif
>
> +#if !defined(__STDC_CONSTANT_MACROS)
> +# error "Must #define __STDC_CONSTANT_MACROS before " \
> +        "#including Support/DataTypes.h"
> +#endif
> +

Hi Steve,

This breaks building Clang in Xcode (164 errors).  Everywhere that  
DataTypes.h is included I see the error "Must #define  
__STDC_CONSTANT_MACROS before #including Support/DataTypes.h".  What  
was the motivation for these lines?

Ted



More information about the llvm-commits mailing list