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]
Other format: [Raw text]

[Bug bootstrap/16645] [3.5 Regression] dbxout.c:1693: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-07-20 16:49 -------
Subject: Re:  [3.5 Regression] dbxout.c:1693: warning: fo

> ------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-20
> 15:22 -------
> Fixed by:
> 	* dbxout.c (dbxout_type): Fix printf format.

Not fixed:

stage1/xgcc -Bstage1/ -B/opt/gnu/gcc/gcc-3.5.0/hppa2.0w-hp-hpux11.11/bin/ -c   -
g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototyp
es -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror 
-fno-common   -DHAVE_CONFIG_H    -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../
../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libba
nshee/libcompat -I../../gcc/gcc/../libbanshee -I../../gcc/gcc/../libbanshee/poin
ts-to -I/opt/gnu/include ../../gcc/gcc/dbxout.c -o dbxout.o
../../gcc/gcc/dbxout.c: In function `dbxout_type':
../../gcc/gcc/dbxout.c:1693: warning: format '%u' expects type 'unsigned int', b
ut argument 3 has type 'size_t'
make[2]: *** [dbxout.o] Error 1

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16645


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