Errors compiling ar.c
Richard Earnshaw
rearnsha@arm.com
Thu Jun 18 17:53:00 GMT 2009
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.
More information about the Binutils
mailing list