Bug with -Wall? (2.95.3)

Alexandre Oliva aoliva@redhat.com
Sun May 27 19:59:00 GMT 2001


On May 27, 2001, "Tom Browder" <tbrowder@home.com> wrote:

>   printf("testing: %td\n", 3);
>   printf("testing %zd\n", 3);


> and gcc 2.95.3 complains about:

> warning: unknown conversion type character `t' in format

> (same for `z')

> but the output is OK.

These are new modifiers that GCC 2.95.3 didn't know about, but the C
library you're using already does.  Even if it did, there's no way it
could know for sure whether the C library you're going to use to run
the program will support them.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-bugs mailing list