This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: messages private members
>--- config/locale/gnu/messages_members.h 2 Oct 2003 21:12:46 -0000
>***************
>*** 39,45 ****
> : facet(__refs)
> {
> #if !(__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2))
>! _M_name_messages = _S_c_name;
> #endif
> _M_c_locale_messages = _S_get_c_locale();
> }
>--- 39,45 ----
> : facet(__refs)
> {
> #if !(__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2))
>! _M_name_messages = _S_get_c_name();
> ^^
>
>needs "messages<_CharT>::" to become dependent (still better,
>"locale::facet::"), or else error.
Agreed, locale::facet:: would be preferred, but I see no compilation
error.
More to the point, why don't I see any of this? I rebuilt with
today's CVS for gcc, and have configured the generic locale (verfied)
which has this issue in time_members.h. No errors, successful
compilation. Also, if you are having the above problem in
messages_members.h and not time_members.h something is very wrong. What
gives, again?
Are you using today's CVS cc1plus? The glibc version issues I can see,
but the rest are baffling.
-benjamin