Displaying 2 results from an estimated 2 matches for "wd4224".
Did you mean:
wd4204
2009 Dec 08
0
[LLVMdev] VC++ warnings (was: Macro redefinitions)
...pped some more warnings]
> The rest of the project compiles clean in non-pedantic mode, quite
> wonderful. :)
Not so wonderful. Lots of warnings are disabled:
add_llvm_definitions( -wd4146 -wd4503 -wd4996 -wd4800 -wd4244 -wd4624 )
add_llvm_definitions( -wd4355 -wd4715 -wd4180 -wd4345 -wd4224 )
add_llvm_definitions( -wd4351 )
It's very likely that some of those warnings are really useful (i.e. are
hinting at bugs.) OTOH, keeping LLVM warning-free for VC++ and gcc at
the same time looks like a never-ending uphill battle.
--
Óscar
2009 Dec 07
2
[LLVMdev] Macro redefinitions
In DataTypes.h starting on line 121 are these lines:
#define INT8_C(C) C
#define UINT8_C(C) C
#define INT16_C(C) C
#define UINT16_C(C) C
#define INT32_C(C) C
#define UINT32_C(C) C ## U
#define INT64_C(C) ((int64_t) C ## LL)
#define UINT64_C(C) ((uint64_t) C ## ULL)
They are conflicting with the cstdint when we have updated headers in
our MSVC build. I could have sworn I talked about this