nls patches - need help with make machinery

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Mon Jun 5 11:38:00 GMT 2000


> The only one that I am aware of is the "inline" keyword in couple of headers.
> I enclose below the log of building libintl yesterday.  I had patched
> gettextP.h to remove the inline keyword but not hash-string.h.  

Removing it is the wrong solution. Instead, the package including intl
should use AC_C_INLINE in its configure.in. That will add

#define inline

to config.h if the compiler does not support the keyword. No changes
to the source code should be required.

Regards,
Martin


More information about the Gcc-bugs mailing list