[PATCH] stdint.h should use the target's types, cleanup the targets

David Majnemer david.majnemer at gmail.com
Mon Oct 28 11:02:38 PDT 2013



================
Comment at: test/Preprocessor/init.c:253
@@ -252,3 +252,1 @@
-// ARM:#define __INTPTR_TYPE__ long int
-// ARM:#define __INTPTR_WIDTH__ 32
 // ARM:#define __INT_MAX__ 2147483647
----------------
scott douglass wrote:
> Is it a problem that `__INTPTR_TYPE__` and `__INTPTR_WIDTH__` have been lost for some targets?  (ARM, MIPS*, PPC*, ...)
`INTPTR_TYPE` and `INTPTR_WIDTH` are only defined by operating system targets in GCC's config files, I follow that convention.


http://llvm-reviews.chandlerc.com/D2021



More information about the cfe-commits mailing list