Hello, Trying to #include a 'make install'-ed LLVM header gives the following error: #error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h" How could I get past this? The documentation I've read so far seems to suggest that LLVM is meant to be used from inside its own source tree. Does this mean that make install is not "officially" supported? Also, is LLVM going to be API-compatible between minor version number increments?
On Wed, 8 Feb 2006, Martin [iso-8859-1] P�rtel wrote:> Trying to #include a 'make install'-ed LLVM header gives the following error: > #error "Must #define __STDC_LIMIT_MACROS before #including > Support/DataTypes.h" > How could I get past this? > > The documentation I've read so far seems to suggest that LLVM is meant to be > used from inside its own source tree.Add -D__STDC_LIMIT_MACROS to your GCC compile command, that should fix it.> Does this mean that make install is not > "officially" supported? Also, is LLVM going to be API-compatible between > minor version number increments?make install is lightly tested, but should work. Please report any problems you find. Thanks! -Chris -- http://nondot.org/sabre/ http://llvm.org/
Reasonably Related Threads
- [LLVMdev] LLVM Cmake module?
- [LLVMdev] LLVM show error preprocessor "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
- [LLVMdev] Build errors: llvm-gcc 4.3-2.5, x86-64.
- [LLVMdev] The first two lines of llvm tutorial don't compile.
- [LLVMdev] LLVM Cmake module?