This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: 64-bit enums and left shift operator - invalid code or GCC bug?
- From: Jens Kilian <jens dot kilian at verigy dot com>
- To: eljay at adobe dot com
- Cc: jens dot kilian at verigy dot com, gcc-help at gcc dot gnu dot org
- Date: Fri, 27 Jun 2008 14:25:36 +0200
- Subject: Re: 64-bit enums and left shift operator - invalid code or GCC bug?
- References: <C48A418B.6750%eljay@adobe.com>
- Reply-to: jens dot kilian at verigy dot com
> 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]