Bug with -Wall? (2.95.3)

Tom Browder tbrowder@home.com
Sun May 27 16:35:00 GMT 2001


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




More information about the Gcc-bugs mailing list