public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jay.krell at cornell dot edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug other/46333] problems with configure -enable-build-with-cxx -disable-bootstrap Date: Sat, 06 Nov 2010 16:25:00 -0000 [thread overview] Message-ID: <bug-46333-4-ZoljiULIE1@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-46333-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46333 --- Comment #1 from Jay <jay.krell at cornell dot edu> 2010-11-06 16:25:26 UTC --- also a bunch of gcc options are being passed to CC, odd I set CXX=/usr/bin/CC to get here. CC: Warning: Option -Wno-long-long passed to ld, if ld is invoked, ignored otherwise source='../../gcc-4.5/libcpp/expr.c' object='expr.o' libtool=no DEPDIR=.deps depmode=dashXmstdout /bin/bash ../../gcc-4.5/libcpp/../depcomp /usr/bin/CC -I../../gcc-4.5/libcpp -I. -I../../gcc-4.5/libcpp/../include -I../../gcc-4.5/libcpp/include -g -W -Wall -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -I../../gcc-4.5/libcpp -I. -I../../gcc-4.5/libcpp/../include -I../../gcc-4.5/libcpp/include -c ../../gcc-4.5/libcpp/expr.c CC: Warning: Option -W passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -Wwrite-strings passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -Wmissing-format-attribute passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -pedantic passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -Wno-long-long passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -W passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -Wwrite-strings passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -Wmissing-format-attribute passed to ld, if ld is invoked, ignored otherwise CC: Warning: Option -pedantic passed to ld, if ld is invoked, ignored otherwise also lots of warnings about mixing extern "C" and not: "../../gcc-4.5/libcpp/files.c", line 1173: Warning (Anachronism): Formal argument 2 of type extern "C" unsigned(*)(const void*) in call to htab_create_alloc(unsigned, extern "C" unsigned(*)(const void*), extern "C" int(*)(const void*,const void*), extern "C" void(*)(void*), extern "C" void*(*)(unsigned,unsigned), extern "C" void(*)(void*)) is being passed unsigned(*)(const void*). "../../gcc-4.5/libcpp/files.c", line 1173: Warning (Anachronism): Formal argument 3 of type extern "C" int(*)(const void*,const and other errors related, mixing said in ternary, like: foo = foo2 ? foo2 : foo3; (as in reallocator = set->reallocator ? set->reallocator : xrealloc) where foo2 and foo3 vary in extern C-ness. workaround is foo = foo2 if (!foo) foo = foo3 even though that doesn't seem different enough -- I understand there is the problem of figuring out a type for the ternary operator, but there is also the matter of being able to assign the function pointers here's an example of the obtack_free problem, either I didn't get all the obstack.h files fixed or the cast needs to be void* or something: "../../gcc-4.5/libcpp/files.c", line 1193: Error: Cannot assign char* to int.
next prev parent reply other threads:[~2010-11-06 16:25 UTC|newest] Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-11-06 15:51 [Bug other/46333] New: " jay.krell at cornell dot edu 2010-11-06 16:25 ` jay.krell at cornell dot edu [this message] 2010-11-06 17:24 ` [Bug other/46333] " joseph at codesourcery dot com 2010-11-06 20:48 ` rguenth at gcc dot gnu.org 2010-11-06 23:53 ` jay.krell at cornell dot edu 2010-11-07 0:07 ` jay.krell at cornell dot edu 2010-11-07 0:15 ` jay.krell at cornell dot edu 2010-11-07 0:28 ` jay.krell at cornell dot edu 2010-11-07 0:30 ` jay.krell at cornell dot edu 2010-11-07 0:50 ` jay.krell at cornell dot edu 2010-11-07 1:11 ` jay.krell at cornell dot edu 2010-11-07 1:19 ` jay.krell at cornell dot edu 2010-11-07 1:37 ` jay.krell at cornell dot edu 2010-11-07 2:04 ` jay.krell at cornell dot edu 2010-11-07 4:03 ` jay.krell at cornell dot edu 2010-11-07 4:13 ` jay.krell at cornell dot edu 2010-11-07 4:20 ` jay.krell at cornell dot edu 2010-11-07 23:01 ` jay.krell at cornell dot edu 2010-11-08 0:57 ` jay.krell at cornell dot edu 2010-11-08 11:50 ` jay.krell at cornell dot edu 2010-11-08 13:12 ` joseph at codesourcery dot com 2011-09-04 20:09 ` marc.glisse at normalesup dot org 2013-07-12 21:08 ` glisse at gcc dot gnu.org 2014-01-29 11:05 ` fukanchik at gmail dot com 2014-01-29 11:12 ` redi at gcc dot gnu.org 2014-01-29 12:11 ` fukanchik at gmail dot com 2014-01-29 17:25 ` glisse at gcc dot gnu.org 2014-01-29 17:41 ` jay.krell at cornell dot edu 2023-04-12 16:51 ` [Bug bootstrap/46333] " redi at gcc dot gnu.org 2024-03-31 21:23 ` pinskia 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-46333-4-ZoljiULIE1@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).