Georg Baum wrote: > Enrico Forestieri wrote: > >> Georg, I tried your test program on cygwin and, after adding an >> "#include <iconv.h>" line, it fails to compile as follows: >> >> $ g++ stream2.cpp -o stream2 >> stream2.cpp: In function `int main()': >> stream2.cpp:230: error: `wcerr' is not a member of `std' >> stream2.cpp:238: error: `wcerr' is not a member of `std' >> stream2.cpp:241: error: `wcerr' is not a member of `std' >> stream2.cpp:244: error: `wcerr' is not a member of `std' >> >> This seems to be a cygwin problem and I have no idea how to solve it. > > std::wcerr should be declared in iostream. If gcc on cygwin does not have it > then it is not standard conforming. > Does it work if you comment tyhe wcerr calls?
Yes, but stream out is empty, and I must use the boost type: [EMAIL PROTECTED] /cygdrive/c/ $ g++ stream2.cpp -ostream -liconv [EMAIL PROTECTED] /cygdrive/c/ $ ./stream test: 20 e4 f6 fc > > Georg > > -- Peter Kümmel