public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/54281] New: [4.8 Regression] Fails to bootstrap with --disable-nls
@ 2012-08-16 10:58 rguenth at gcc dot gnu.org
  2012-08-16 10:58 ` [Bug bootstrap/54281] " rguenth at gcc dot gnu.org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-08-16 10:58 UTC (permalink / raw)
  To: gcc-bugs

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>


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-09-24 19:43 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-16 10:58 [Bug bootstrap/54281] New: [4.8 Regression] Fails to bootstrap with --disable-nls rguenth at gcc dot gnu.org
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

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).