public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "manu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/53343] [4.8 regression] options.c:9944:1: error: no previous prototype for 'common_handle_option_auto' breaks bootstrap Date: Tue, 15 May 2012 12:22:00 -0000 [thread overview] Message-ID: <bug-53343-4-IRCwTQhjc4@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-53343-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53343 Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-05-15 12:05:16 UTC --- This is the successful compilation line in x86_64-unknown-linux-gnu: /home/manuel/test2/187462M/build/./prev-gcc/g++ -B/home/manuel/test2/187462M/build/./prev-gcc/ -B/home/manuel/test2/./187462M/install/x86_64-unknown-linux-gnu/bin/ -nostdinc++ -B/home/manuel/test2/187462M/build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/home/manuel/test2/187462M/build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -I/home/manuel/test2/187462M/build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu -I/home/manuel/test2/187462M/build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include -I/home/manuel/test2/src/libstdc++-v3/libsupc++ -L/home/manuel/test2/187462M/build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -L/home/manuel/test2/187462M/build/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -c -g -O2 -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I/home/manuel/test2/src/gcc -I/home/manuel/test2/src/gcc/. -I/home/manuel/test2/src/gcc/../include -I/home/manuel/test2/src/gcc/../libcpp/include -I/opt/cfarm/mpfr-2.4.1//include -I/opt/cfarm/mpc-0.8/include -I/home/manuel/test2/src/gcc/../libdecnumber -I/home/manuel/test2/src/gcc/../libdecnumber/bid -I../libdecnumber options.c -o options.o So g++ is missing -Wmissing-prototypes (actually, -Wmissing-declarations). see PR 50134. Not sure what is the best way to fix this. Declare also the functions in options.c? Including options.h in options.c is maybe problematic.
next prev parent reply other threads:[~2012-05-15 12:05 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-05-14 12:58 [Bug bootstrap/53343] New: [4.8 regression] options.c:9944:1: error: no previous prototype for 'common_handle_option_auto' broke bootstrap on sparc64-linux mikpe at it dot uu.se 2012-05-15 9:26 ` [Bug bootstrap/53343] " mikpe at it dot uu.se 2012-05-15 12:22 ` manu at gcc dot gnu.org [this message] 2012-05-26 23:58 ` [Bug bootstrap/53343] [4.8 regression] options.c:9944:1: error: no previous prototype for 'common_handle_option_auto' breaks bootstrap pinskia at gcc dot gnu.org 2012-05-27 22:07 ` mikpe at it dot uu.se 2012-05-27 23:12 ` tkoenig at gcc dot gnu.org 2012-08-16 11:03 ` rguenth at gcc dot gnu.org 2012-09-07 11:53 ` rguenth at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-53343-4-IRCwTQhjc4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).