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).