From: Masaki Muranaka <monaka@monami-software.com>
To: Andreas Schwab <schwab@suse.de>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] Failed to build mips64-elf with NLS on OSX
Date: Thu, 15 Jun 2006 09:12:00 -0000 [thread overview]
Message-ID: <6E68F226-6A7E-4DB7-8734-A448045A6129@monami-software.com> (raw)
In-Reply-To: <jebqsubzgw.fsf@sykes.suse.de>
On 2006/06/15, at 17:22, Andreas Schwab wrote:
> GCC should recognize gettext specially in the context of format string
> tests.
Regardless GCC should work so, the build was failed.
This is a sample script that reproduce the error.
I tested on gcc-4.0.1/OSX and gcc-3.2.2/Linux.
Results are same.
-8<----8<----8<----8<----8<----8<---
cat <<__EOF > test.c
#include <stdio.h>
# define _(String) gettext (String)
int
main(int argc, char **argv)
{
printf(_("aaa"));
}
__EOF
gcc -Werror -Wformat -Wformat-nonliteral -c test.c
-8<----8<----8<----8<----8<----8<---
--
Masaki Muranaka
Monami software
next prev parent reply other threads:[~2006-06-15 9:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-15 8:12 Masaki Muranaka
2006-06-15 8:22 ` Andreas Schwab
2006-06-15 9:12 ` Masaki Muranaka [this message]
2006-06-15 9:24 ` Andreas Schwab
2006-06-15 10:04 ` Masaki Muranaka
2006-06-15 11:34 ` Masaki Muranaka
2006-06-15 13:51 ` Daniel Jacobowitz
2006-06-16 0:42 ` Masaki Muranaka
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=6E68F226-6A7E-4DB7-8734-A448045A6129@monami-software.com \
--to=monaka@monami-software.com \
--cc=gdb-patches@sourceware.org \
--cc=schwab@suse.de \
/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