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]

Bug with -Wall? (2.95.3)


compile the following with: "gcc -Wall"

#include <stdio.h>
int
main()
{
  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.

Tom Browder



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