: `state_type' was not declared in this
scope
./include/rw/_traits.h:397: error: template argument 1 is invalid
./include/rw/_traits.h: In static member function `static int
std::char_traitschar::compare(const char*, const char*, unsigned int)':
./include/rw/_traits.h:420: error: `memcmp' is not a member of `std'
./include/rw/_traits.h: In static member function `static const char*
std::char_traitschar::find(const char*, unsigned int, const char)':
./include/rw/_traits.h:428: error: `memchr' is not a member of `std'
./include/rw/_traits.h: In static member function `static unsigned int
std::char_traitschar::length(const char*)':
./include/rw/_traits.h:434: error: `strlen' is not a member of `std'
./include/rw/_traits.h: In static member function `static char*
std::char_traitschar::move(char*, const char*, unsigned int)':
./include/rw/_traits.h:439: error: `memmove' is not a member of `std'
./include/rw/_traits.h: In static member function `static char*
std::char_traitschar::copy(char*, const char*, unsigned int)':
./include/rw/_traits.h:445: error: `memcpy' is not a member of `std'
./include/rw/_traits.h: In static member function `static char*
std::char_traitschar::assign(char*, unsigned int, char)':
./include/rw/_traits.h:451: error: `memset' is not a member of `std'
./include/rw/_traits.h: At global scope:
./include/rw/_traits.h:483: error: expected `;' before state_type
./include/rw/_traits.h:484: error: `state_type' was not declared in this
scope
./include/rw/_traits.h:484: error: template argument 1 is invalid
./include/rw/_traits.h: In static member function `static int
std::char_traitswchar_t::compare(const wchar_t*, const wchar_t*, unsigned
int)':
./include/rw/_traits.h:504: error: `wmemcmp' was not declared in this
scope
./include/rw/_traits.h: In static member function `static unsigned int
std::char_traitswchar_t::length(const wchar_t*)':
./include/rw/_traits.h:509: error: `wcslen' is not a member of `std'
./include/rw/_traits.h: In static member function `static const wchar_t*
std::char_traitswchar_t::find(const wchar_t*, unsigned int, const
wchar_t)':
./include/rw/_traits.h:515: error: `wmemchr' is not a member of `std'
./include/rw/_traits.h: In static member function `static wchar_t*
std::char_traitswchar_t::copy(wchar_t*, const wchar_t*, unsigned int)':
./include/rw/_traits.h:522: error: `wmemcpy' is not a member of `std'
./include/rw/_traits.h: In static member function `static wchar_t*
std::char_traitswchar_t::move(wchar_t*, const wchar_t*, unsigned int)':
./include/rw/_traits.h:528: error: `wmemmove' is not a member of `std'
./include/rw/_traits.h: In static member function `static wchar_t*
std::char_traitswchar_t::assign(wchar_t*, unsigned int, wchar_t)':
./include/rw/_traits.h:534: error: `wmemset' is not a member of `std'
In file included from ./include/rw/_iosbase.h:36,
from ./include/streambuf:39,
from ./include/ostream:39,
from ./include/istream:38,
from ./include/iostream:33,
from test_stdcxx_1.cpp:4:
./include/loc/_locale.h: At global scope:
./include/loc/_locale.h:403: error: `mbstate_t' is not a member of `std'
./include/loc/_locale.h:403: error: `mbstate_t' is not a member of `std'
./include/loc/_locale.h:403: error: template argument 3 is invalid
./include/loc/_locale.h:470: error: `mbstate_t' is not a member of `std'
./include/loc/_locale.h:470: error: `mbstate_t' is not a member of `std'
./include/loc/_locale.h:470: error: template argument 3 is invalid
I've tried using a -Z parameter with the g++.exe command, but g++.exe
still won't generate an object file.
The first file cwchar that g++.exe is complaining that it can't find, does
exist. It's in directory ./include/ansi/ I tried copying file cwchar to
./include/ but this didn't fix the first compiler error.
* * *
* * *
.
Any suggestions you could make, would be most appreciated. Or, if you could
compile and link my minimal test program test_stdcxx_1.cpp under your
MinGW+MSYS, and tell me how you did it, that would be even better.
Thanks.
Steve
- Original Message -
From: Farid Zaripov [EMAIL PROTECTED]
To: user@stdcxx.apache.org
Sent: Wednesday, December 03, 2008 3:51 AM
Subject: Re: Building stdcxx-4.2.2 Using MinGW+MSYS On Windows XP (SP2)
HOWEVER, after the completion of the ar rv libstd11s.a ... command
executed near the very end of the build process, the following was
displayed
on the MSYS console, and the build process stopped:
[...]
i:\apps\mingw\bin\ar.exe: creating libstd11s.a
gencat rwstderr.cat /stdcxx-4.2.2/src/rwstderr.msg
/bin/sh: gencat: command not found
make[2]: [rwstderr.cat] Error 127 (ignored)
It's ok. The rwstderr.cat catalog file is used for overriding standard
exceptions
what() messages (i.e. to have localized messages). On MinGW (as well as on
entire Windows) stdcxx doesn't using rwstderr.cat