public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hunor at cs dot bme dot hu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/34780] Bootstrapping libstdc++-v3 failed
Date: Mon, 11 Feb 2008 17:50:00 -0000	[thread overview]
Message-ID: <20080211175008.20608.qmail@sourceware.org> (raw)
In-Reply-To: <bug-34780-12313@http.gcc.gnu.org/bugzilla/>



------- Comment #7 from hunor at cs dot bme dot hu  2008-02-11 17:50 -------
I got the same error on i686-pc-linux-gnu with revision 132237. The -Werror is
indeed the result of --enable-maintainer-mode:

libstdc++-v3/acinclude.m4:
...
  if test x"$USE_MAINTAINER_MODE" = xno; then
    WERROR=''
  else
    WERROR='-Werror'
  fi
...

libstdc++-v3/fragment.am:
...
WARN_CXXFLAGS = \
        $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
...

libstdc++-v3/src/Makefile.am:
...
AM_CXXFLAGS = \
        -fno-implicit-templates \
        $(WARN_CXXFLAGS) \
        $(OPTIMIZE_CXXFLAGS) \
        $(CONFIG_CXXFLAGS)
...

libstdc++-v3/libsupc++/Makefile.am:
...
AM_CXXFLAGS = \
        -fno-implicit-templates \
        $(LIBSUPCXX_PICFLAGS) \
        $(WARN_CXXFLAGS) \
        $(OPTIMIZE_CXXFLAGS) \
        $(CONFIG_CXXFLAGS)
...

Otherwise, the warning is correct:
gcc/unwind-pe.h:
...
static unsigned int
size_of_encoded_value (unsigned char encoding)
...

is indeed unused in libstdc++-v3/libsupc++/eh_call.cc. It should be static
inline or __attribute__((unused)), or alternatively
libstdc++-v3/libsupc++/eh_call.cc could define NO_SIZE_OF_ENCODED_VALUE before
including the header.


-- 

hunor at cs dot bme dot hu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hunor at cs dot bme dot hu


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


  parent reply	other threads:[~2008-02-11 17:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-14 12:06 [Bug bootstrap/34780] New: " dominiq at lps dot ens dot fr
2008-01-14 12:18 ` [Bug target/34780] " pinskia at gcc dot gnu dot org
2008-01-14 12:20 ` pinskia at gcc dot gnu dot org
2008-01-14 15:20 ` dominiq at lps dot ens dot fr
2008-01-14 15:43 ` dominiq at lps dot ens dot fr
2008-01-14 16:45 ` dominiq at lps dot ens dot fr
2008-01-14 17:17 ` dominiq at lps dot ens dot fr
2008-02-11 17:50 ` hunor at cs dot bme dot hu [this message]
2008-07-06  9:48 ` rwild at gcc dot gnu dot org
2008-07-07 18:17 ` rwild at gcc dot gnu dot org
2008-07-07 18:18 ` rwild at gcc dot gnu dot org
2008-07-07 18:55 ` rwild at gcc dot gnu dot org
2008-12-03 23:26 ` tkoenig at gcc dot gnu dot org
2009-04-12  8:17 ` dominiq at lps dot ens dot fr
2009-04-14 21:51 ` Ralf dot Wildenhues at gmx dot de
2009-04-14 22:04 ` dominiq at lps dot ens dot fr

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=20080211175008.20608.qmail@sourceware.org \
    --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: link
Be 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).