Ralf Corsépius wrote:
> I am observing this behavior with
> * all linux->rtems4.9/newlib (gcc-4.3.2/newlib-1.16.x) cross gccs
> * all linux->rtems4.10/newlib (gcc-4.4.2/newlib-1.17.x) cross gccs
> * linux->cygwin/newlib cross gccs (gcc 3.4.4; built from cygwin sources)
>
> I am not observing this
Hi,
with this code-snippet below, some gcc's emit printf-format
warnings twice when including , but don't do so when
not including :
Example:
# i386-rtems4.10-gcc -Wall -c -o tmp.o tmp.c
tmp.c: In function 'main':
tmp.c:9: warning: format '%d' expects type 'int', but argument 2 has
type 'char *