This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Errors compiling ar.c
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 18 Jun 2009 18:22:08 +0100
- Subject: Errors compiling ar.c
gcc -DHAVE_CONFIG_H -I. -I/home/rearnsha/gnusrc/gcc-cross/trunk/binutils -I. -I. -I/home/rearnsha/gnusrc/gcc-cross/trunk/binutils -I../bfd -I/home/rearnsha/gnusrc/gcc-cross/trunk/binutils/../bfd -I/home/rearnsha/gnusrc/gcc-cross/trunk/binutils/../include -DLOCALEDIR="\"/work/rearnsha/gnu/trunk/testinstall/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c /home/rearnsha/gnusrc/gcc-cross/trunk/binutils/ar.c
/home/rearnsha/gnusrc/gcc-cross/trunk/binutils/ar.c:282:1: directives
may not be used inside a macro argument
/home/rearnsha/gnusrc/gcc-cross/trunk/binutils/ar.c:280:21: unterminated
argument list invoking macro "_"
In summary, you can't use #ifdef in the middle of _(...).
It doesn't seem like a good idea for translation purposes to have this
string change in this way anyway.
R.