------- Comment #1 from pinskia at gcc dot gnu dot org  2008-09-28 19:53 -------
C99 (7.19.6.1/6) says:
For d, i, o, u, x, and X conversions, if a precision is specified, the 0 flag
is ignored.

So the warning is correct.

>The '0' flag isn't actually ignored, and it shouldn't be anyway, so I think
> the warning is incorrect.

Why do you think it is not ignored, C99 says it is ignored as mentioned above.


-- 

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=37648

Reply via email to