C++ iostream compilation problems
Dimitrie O. Paun
dpaun at rogers.com
Sat Dec 11 11:42:41 CST 2004
On Sat, Dec 11, 2004 at 10:17:38AM -0600, Geoff Hart wrote:
> I'm trying to compile some C++ code, but hit a basic problem
> with some of the headers. Example, even just the single include:
>
> #include <iostream>
>
> yields
>
> wineg++ -c -mno-cygwin -I. -o cxx_iostream.o cxx_iostream.cpp
> In file included from
> error: `::vscanf' has not been declared
> /usr/lib/gcc/i386-redhat-linux/3.4.0/../../../../include/c++/3.4.0/cstdio:171:
>
> Are the GCC C++ includes incompatible with the winelib headers?
Yes, the msvcrt headers (invoked via -mno-cygwin) are. You need to use
the glibc headers (try to get rid of -mno-cygwin).
--
Dimi.
More information about the wine-devel
mailing list