This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: libintl.h not namespace clean in C++ mode
- From: Bruno Haible <bruno at clisp dot org>
- To: GOTO Masanori <gotom at debian dot or dot jp>
- Cc: libc-alpha at sources dot redhat dot com, Herbert Straub <herbert at linuxhacker dot at>
- Date: Tue, 20 Jul 2004 22:59:11 +0200
- Subject: Re: libintl.h not namespace clean in C++ mode
- References: <200406031349.59005.bruno@clisp.org> <81fz7mblww.wl@omega.webmasters.gr.jp>
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