Displaying 1 result from an estimated 1 matches for "__stdc_limit_macrosand".
2013 Dec 02
0
[LLVMdev] __STDC_LIMIT_MACROS
...ith both compilers.
My application uses LLVM IR builder and JIT'er. Building succeeds with
GCC 4.8.2, but fails with GCC 4.6.3:
llvm-rc1/include/llvm/Support/DataTypes.h:48:3: error: #error "Must
#define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
When defining the __STDC_LIMIT_MACROSand __STDC_CONSTANT_MACROS building
with GCC 4.6.3 also succeeds.
Are these defines really necessary, why are they not needed for GCC
4.8.2?Should I be worried to leave the defines in the code?
Frank