This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/16645] [3.5 Regression] dbxout.c:1693: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jul 2004 20:17:16 -0000
- Subject: [Bug bootstrap/16645] [3.5 Regression] dbxout.c:1693: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'
- References: <20040720151844.16645.danglin@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2004-07-20 20:17 -------
Subject: Re: [3.5 Regression] dbxout.c:1693: warning: fo
> >>Can you try this patch, and let me know if it fixes these 64bit issues?
I hit the following error/warning:
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
-Werror -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../gcc/gcc -I../../gcc/gc
c/cp -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include -I../../gcc/gc
c/../libbanshee/libcompat -I../../gcc/gcc/../libbanshee -I../../gcc/gcc/../libba
nshee/points-to -I/opt/gnu/include ../../gcc/gcc/cp/parser.c -o cp/parser.o
../../gcc/gcc/cp/parser.c: In function `cp_parser_simple_type_specifier':
../../gcc/gcc/cp/parser.c:9472: warning: assignment makes integer from pointer w
ithout a cast
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16645