CYGWIN_NT-5.1 1.7.0(0.185/5/3) wstring undeclared
bernd@prager.ws
bernd@prager.ws
Tue Jul 22 21:50:00 GMT 2008
Hi,
I thought wstring is now supported.
Following code:
#include <iostream>
using namespace std;
int main() {
wstring s = L"test";
wcout << s << endl;
return EXIT_SUCCESS;
}
fails compilation with:
$ g++ tst1.cpp
tst1.cpp: In function `int main()':
tst1.cpp:6: error: `wstring' undeclared (first use this function)
tst1.cpp:6: error: (Each undeclared identifier is reported only once for
each function it appears in.)
tst1.cpp:6: error: expected `;' before "s"
tst1.cpp:7: error: `wcout' undeclared (first use this function)
tst1.cpp:7: error: `s' undeclared (first use this function)
Is that a path issue or is wstring still unsupported?
Thanks,
-- Bernd
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list