64-bit enums and left shift operator - invalid code or GCC bug?
Jens Kilian
jens.kilian@verigy.com
Fri Jun 27 12:26:00 GMT 2008
> Do you need to specify -std=iso9899:1999 to get C99-isms? Or is that the C
> default on your GCC?
I don't know. I'm using the out-of-the-box GCC on RedHat Enterprise Linux
(version 3 vs. version 5).
> Shouldn't you be using <inttypes.h> and have your printf be:
> printf("%" PRIx64 " %" PRIx64 "\n", zip, qux);
Probably, but I was lazy :-)
Bye,
Jens.
--
mailto:jjk@acm.org phone:+49-7031-4357-122
http://www.bawue.de/~jjk/ fax:+49-7031-4357-483
http://del.icio.us/jjk As the air to a bird, or the sea to a fish,
so is contempt to the contemptible. [Blake]
More information about the Gcc-help
mailing list