c/3188: I define bit fields in a long long, union the long long, and print.
Christian Ehrhardt
ehrhardt@mathematik.uni-ulm.de
Tue Nov 26 04:19:00 GMT 2002
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3188
Hi,
this is a user error. The PR should be closed. The user complains
that printf ("%016x", variable_of_type_long_long) prints zeros in the
first word. The fix is to add proper formatting: llx instead of x.
regards Christian
--
THAT'S ALL FOLKS!
More information about the Gcc-bugs
mailing list