This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bug with -Wall? (2.95.3)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]