Pedro Alves escreveu: > Pedro Alves escreveu: > >> Nuno Lucas escreveu: >> >>> It seems the partial specialization for std::basic_string<wchar_t> is >>> missing on the C++ library for mingw32ce. >>> >>> I'm wondering if it was just an oversight or it's something that needs >>> to be fixed. >>> >>> >>> >> Both? Looks like _GLIBCXX_USE_WCHAR_T isn't being defined. Somewhat >> funny on a >> supposedly fully Unicode OS. :) >> The problem should be in some configure test or in some header missing >> something. Maybe look >> in gcc/libstdc++-v3/ autoconf stuff if you are in the mood. >> >> > > Found it. wchar_t support is only enabled if some tests for c99 support in > wchar.h pass. > The checks are found in gcc/libstdc++-v3/acinclude.m4. > (grep for "Check for template specializations for the 'wchar_t' type.", and > then for > "ac_c99_wchar") > >
We're closer. The test fails because we don't have wcscoll and wcsxfrm. Bummer. Well, Since we don't have locale support in WinCE anyway, we might as well replace those calls with wcscmp and whatever replaces wcsxfrm. I'll hack acinclude.m4 to make the test pass to see what happens later. Cheers, Pedro Alves ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Cegcc-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cegcc-devel
