This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: [PATCH] Fix wchar_t breakage on Solaris


> 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


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