[cfe-dev] sizeof(long) in OpenCL C

Erik Schnetter schnetter at gmail.com
Fri Aug 30 08:15:51 PDT 2013


I notice that, with the patch applied, "long" has 64 bits, but __INTPTR_TYPE__ is still defined as "long int" on ARM. This is now wrong; it needs to be set to "int" instead. Do you have pointers for correcting this in clang?

There are similar issues with e.g. __INT64_TYPE__ (should now be "long" instead of "long long")

-erik

-- 
Erik Schnetter <schnetter at gmail.com>
http://www.perimeterinstitute.ca/personal/eschnetter/

My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://pgp.mit.edu/.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130830/01b21ee0/attachment.sig>


More information about the cfe-dev mailing list