This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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]

Re: libintl.h not namespace clean in C++ mode


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]