Before MSVS2015, MSVS's headers disagree about int32_t and PRIx32 and so on. Provide a wrapper header to fix this, so that -Wformat can still be used. Fixes PR23412.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Nice! Thanks for fixing.
I think lib/Headers/CMakeLists.txt needs to be updated too.
lib/Headers/inttypes.h | ||
---|---|---|
3 | It seems this line is mostly present in the older headers (with years like 2008 and 2009 on them). I looked at cpuid.h and immintrin.h, and they don't have it. IANAL etc., but I would go for the shorter version. |
lib/Headers/inttypes.h | ||
---|---|---|
3 | Ok. Should we remove it from the files that have it too? |
lib/Headers/inttypes.h | ||
---|---|---|
3 | I guess consistency would be nice, but this also doesn't seem very important. |
It seems this line is mostly present in the older headers (with years like 2008 and 2009 on them). I looked at cpuid.h and immintrin.h, and they don't have it. IANAL etc., but I would go for the shorter version.