public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "herbert at linuxhacker dot at" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/15773] Error, if compiled with -O3 (gettext method name) Date: Wed, 02 Jun 2004 14:08:00 -0000 [thread overview] Message-ID: <20040602140852.30483.qmail@sourceware.org> (raw) In-Reply-To: <20040602102940.15773.herbert@linuxhacker.at> ------- Additional Comments From herbert at linuxhacker dot at 2004-06-02 14:08 ------- (In reply to comment #1) > Can you provide the preprocessed source, I think this is a case of glibc using defines instead of inline > functions. I found in /usr/include/libintl.h i the following: /* Optimized version of the function above. */ #if defined __OPTIMIZE__ [...] snipped # define gettext(msgid) dgettext (NULL, msgid) # define dgettext(domainname, msgid) \ dcgettext (domainname, msgid, LC_MESSAGES) [...] The t1.ii contains: foo (const char *a) : s(a) {} std::string dcgettext (__null, void, __LC_MESSAGES) { return s; } }; I think, it is the same error: http://lists.gnu.org/archive/html/bug-gnu-utils/2002-06/msg00156.html It' look like, that this error is no compiler failure? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15773
next prev parent reply other threads:[~2004-06-02 14:08 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-06-02 10:29 [Bug c++/15773] New: " herbert at linuxhacker dot at 2004-06-02 11:31 ` [Bug c++/15773] " pinskia at gcc dot gnu dot org 2004-06-02 14:08 ` herbert at linuxhacker dot at [this message] 2004-06-02 14:14 ` pinskia at gcc dot gnu dot org 2004-06-03 12:06 ` bruno at clisp dot org 2004-08-19 19:42 ` bangerth at dealii dot 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=20040602140852.30483.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: 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).