[PATCH] Add an inttypes.h wrapper that fixes up some macros in Microsoft mode

Hans Wennborg hans at chromium.org
Thu Jun 25 17:10:48 PDT 2015


Nice! Thanks for fixing.

I think lib/Headers/CMakeLists.txt needs to be updated too.


================
Comment at: lib/Headers/inttypes.h:3
@@ +2,3 @@
+ *
+ * Copyright (c) 2015 Nico Weber
+ *
----------------
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.

http://reviews.llvm.org/D10754

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list