Does Cygwin's GCC support 64-bit constants?

Eljay Love-Jensen eljay@adobe.com
Wed Mar 3 02:39:00 GMT 2004


Hi Nate,

Use this:

#include <stdint.h>
const int64_t myvar = INT64_C(0xFF00000000000000);

Note, <stdint.h> is part of C99, it's in GCC 3.3 (maybe earlier), and you 
can use <stdint.h> in your C++ program.  That's <stdint.h> in C++, not 
<cstdint> as one my presuppose ... not yet at least.

HTH,
--Eljay



More information about the Gcc-help mailing list