Mail Archives: djgpp/2003/01/14/22:12:29
"Shabss" <shabbirsuterwala AT yahoo DOT com> wrote
> My code uses STL and wstring extensivly but i tried
> the following code
> with same effects:
>
> #include <string>
> #include <iostream>
> using namespace std;
> int main (void)
> {
> wstring strMyString=L"Hello World";
> wcout<<strMyString<<endl;
> return 0;
> }
>
> The above works fine if compiled with Visual C++ 6.0
>
> Following is the command line that rhide executes.
> gcc -g -D _GLIBCPP_USE_WCHAR_T -c
> test_ws.cpp -o
> test_ws.o
>
> I got an extensive list of errors (see below) but I
> think is a minor
> issue. Has somebody seen this ? Is there a way to
> fix this ? Help is
> really appreciated.
>
> Here is a snippet of the list of errors
> d:/djgpp/lang/cxx/3.21/cwchar(137) Error: `btowc'
> not declared
> d:/djgpp/lang/cxx/3.21/cwchar(138) Error: `fgetwc'
> not declared
As of a few months ago, wide characters were not yet
fully supported. I don't think that's yet changed
(although Richard Dawe can correct me if I'm wrong).
Here's a link to an earlier discussion of this:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&newwindow=1&threadm=aoej5d%24qlk%241%40trsvr.tr.unisys.com&rnum=3&prev=/groups%3Fq%3Dwchar%2Bgroup:comp.os.msdos.djgpp%26hl%3Den%26lr%3D%26ie%3DUTF-8%26newwindow%3D1%26selm%3Daoej5d%2524qlk%25241%2540trsvr.tr.unisys.com%26rnum%3D3
I should have noticed that when you first posted.
Sorry about that.
Best regards,
Tom
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
- Raw text -