%Zu problem
Ulf Carlsson
ulfc@calypso.engr.sgi.com
Tue Jul 4 03:06:00 GMT 2000
Hi,
If I compile the following code with -Wall using current GCC 2.96 I
will get a warning. This seems to affect all architectures. The
Linux kernel is affected by this.
#include <stdio.h>
typedef unsigned int __foo_t;
int main (void) { __foo_t x; printf ("%Zu", x); return 0; }
/tmp/@29765.1: In function `main':
/tmp/@29765.1:3: warning: unsigned int format, __foo_t arg (arg 2)
Ulf
More information about the Gcc-bugs
mailing list