I'm getting numerous instances of this when I try to compile gdb 7.0.1 on Mac OSX 10.6.2 running Xcode tools 3.2.1 (gcc version 4.2.1 (Apple Inc. build 5646): warning: format not a string literal, argument types not checked since -Werror is set, the build fails. Here is an example of the warning/error from ppc-dis.c: fprintf (stream, _("\n\ The following PPC specific disassembler options are supported for use with\n\ the -M switch:\n")); The preprocessor spits this out: fprintf (stream, libintl_dgettext ("opcodes", "\nThe following PPC specific disassembler options are supported for use with\nthe -M switch:\n")); The build appears to fail when there are no arguments in the va_list when the _( ) macro is used. Not sure why it doesn't fail when there are arguments in the va_list.
This was a intl/gettext bug, fixed in 2009-10-15.