public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/54281] New: [4.8 Regression] Fails to bootstrap with --disable-nls Date: Thu, 16 Aug 2012 10:58:00 -0000 [thread overview] Message-ID: <bug-54281-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54281 Bug #: 54281 Summary: [4.8 Regression] Fails to bootstrap with --disable-nls Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned@gcc.gnu.org ReportedBy: rguenth@gcc.gnu.org With --disable-nls intl.h does #ifdef ENABLE_NLS #include <libintl.h> extern void gcc_init_libintl (void); extern size_t gcc_gettext_width (const char *); #else /* Stubs. */ # undef textdomain # define textdomain(domain) (domain) # undef bindtextdomain # define bindtextdomain(domain, directory) (domain) # undef gettext # define gettext(msgid) (msgid) which wrecks an included libintl.h: extern char *(__const char *__msgid) throw () __attribute__ ((__format_arg__ (1))); and g++ rightfully complains. We end up including libintl.h through gcc/double-int.h #include <gmp.h> #include <iosfwd> (here from GCC 4.1) #include <bits/c++locale.h> #include <libintl.h>
next reply other threads:[~2012-08-16 10:58 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-08-16 10:58 rguenth at gcc dot gnu.org [this message] 2012-08-16 10:58 ` [Bug bootstrap/54281] " rguenth at gcc dot gnu.org 2012-08-16 11:02 ` rguenth at gcc dot gnu.org 2012-08-16 11:19 ` rguenth at gcc dot gnu.org 2012-08-16 11:22 ` rguenth at gcc dot gnu.org 2012-08-16 12:05 ` dnovillo at gcc dot gnu.org 2012-08-16 13:28 ` dnovillo at gcc dot gnu.org 2012-08-16 13:30 ` dnovillo at gcc dot gnu.org 2012-08-16 18:04 ` dnovillo at gcc dot gnu.org 2012-08-16 18:25 ` dnovillo at gcc dot gnu.org 2012-08-16 18:43 ` dnovillo at gcc dot gnu.org 2012-08-17 15:38 ` dnovillo at gcc dot gnu.org 2012-08-17 16:17 ` dnovillo at gcc dot gnu.org 2012-08-17 16:19 ` dnovillo at gcc dot gnu.org 2012-09-24 19:41 ` burnus at gcc dot gnu.org 2012-09-24 19:43 ` burnus 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-54281-4@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).