This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
An attached patch is for intl/libgnuintl.h based on the discussion at gdb-patches ML.
_() macro is extracted to intl_gettext() on some hosts which use libgnuintl.h. GCC regards some types of gettext call as constant, but intl_gettext() isn't regarded. So, the build was failed by error in case compiling the code that has _() macro with -Wformat -Wformat-nonliteral -Werror .
The patch is just for avoiding build failure on GDB / mips64-elf cross target / MacOSX host. I guess the similar patch should be applied on other extern prototypes in libgnuintl.h. (But I didn't. I don't have enough hosts to test.)
- - - - - intl/
2006-06-15 Masaki Muranaka <monaka@monami-software.com> * libgnuintl.h (libintl_gettext): Add format_arg attribute. - - - - -
-- Masaki Muranaka Monami software
Attachment:
libgnuintl.h.diff
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |