libintl.h not namespace clean in C++ mode

Bruno Haible bruno@clisp.org
Tue Jul 20 21:00:00 GMT 2004


GOTO Masanori wrote:
> 	* intl/libintl.h: Don't use optimizing gettext definition in C++ mode.

It's not a particularly good idea to optimize things differently in C++ mode
than in C mode: It causes surprises to the programmers.

Also why does your patch test the value of __cplusplus, while all other
glibc header files test  'defined (__cplusplus)' ?

Bruno



More information about the Libc-alpha mailing list