[Bug c/53946] gcc emits warning when intmax_t is long long and format string %jd is used

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 12 23:46:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53946

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-07-12 23:46:07 UTC ---
In fact for x86_64, intmax_t is defined as long rather than long long.  Use
stdint.h instead of defining your own intmax_t.



More information about the Gcc-bugs mailing list