Collin Funk wrote: > The issue is that __attribute__ ((__format (...))) adds a check to make > the format string is actually a string. When it sees a call to 'gettext' > it assumes that it can return NULL which will cause issues as a format > string.
How can that be? Before the fix that I just committed, the gettext() function was not used, because in --disable-nls mode gettext() was a macro. > I would have to test it, but I wonder if adding > '__attribute__ ((__returns_nonnull__))' will fix this. You can try that. IMO the issue was not related to NULL vs. non-NULL return values. Bruno
