------- Comment #2 from pinskia at gcc dot gnu dot org  2006-12-12 01:01 -------
4.0 and above give a better warning message for this issue:
t1.c:12: warning: format '%d' expects type 'int', but argument 2 has type 'long
long int'


This is not a bug in GCC but rather your code in that the enum you have is the
same size as long long.


-- 

pinskia at gcc dot gnu dot org changed:

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


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

Reply via email to