Martin,
As we discussed it yesterday the gcc builds are broken on dev because of
a glitch introduced in [I believe] revision 366948.
AFAICT the else branch of the new SunOS conditional in rw/_mbstate.h
does not preserve the former logic.
The following is a tentative patch; could you please take a look at it
and see if I understood correctly the problem?
Thanks,
Liviu
Index: include/rw/_mbstate.h
===================================================================
--- include/rw/_mbstate.h (revision 367667)
+++ include/rw/_mbstate.h (working copy)
@@ -122,7 +122,19 @@
# endif // _RWSTD_NO_USING_LIBC_IN_STD
# else // if !defined (_RWSTD_OS_SUNOS)
+
# include _RWSTD_CWCHAR
+
+# ifndef _RWSTD_NO_USING_LIBC_IN_STD
+
+namespace std {
+
+using ::mbstate_t;
+
+} // namespace std
+
+# endif // _RWSTD_NO_USING_LIBC_IN_STD
+
# endif // _RWSTD_OS_SUNOS
#elif !defined (_RWSTD_MBSTATE_T_DEFINED)