This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] Fix wchar_t breakage on Solaris
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sun, 2 Apr 2006 06:42:33 +0200
- Subject: Re: [PATCH] Fix wchar_t breakage on Solaris
- References: <200603312306.37523.ebotcazou@libertysurf.fr> <442DA40C.2030308@suse.de>
> thanks for your help about this issue. I'm afraid the patch is
> incomplete, however: std_cwchar.h should be consistently adjusted and
> that, sadly, is not totally straightforward (like it is for wcstof, for
> instance) because of the C99_DYNAMIC machinery (used by freebsd only,
> AFAIK).
OK.
> Anyway, I think it's fine simply #undef-ing conditional to the new
> macros, then using in NAMESPACE(__gnu_cxx) conditional to the macros
> and, again, using in NAMESPACE(std) conditional to the macros. I don't
> know if you are willing to manage the tangle... ;) just let me know,
> otherwise.
I'd indeed be a little relieved if you could lend a hand. :-)
> Also, given the comment at the beginning of the existing separate
> AC_TRY_COMPILE, I think a one-line new comment mentioning Solaris 7-9 is
> in order in acinclude.m4 too.
Strange, I thought this comment was precisely intended to cover all the
following AC_TRY_COMPILEs. But redundancy cannot hurt here.
--
Eric Botcazou