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 /usr/lib/gcc/i386-redhat-linux/3.4.0/../../../../include/c++/3.4.0/i386-redhat-linux/bits/c++locale.h:42, from /usr/lib/gcc/i386-redhat-linux/3.4.0/../../../../include/c++/3.4.0/iosfwd:46, from /usr/lib/gcc/i386-redhat-linux/3.4.0/../../../../include/c++/3.4.0/ios:44, from /usr/lib/gcc/i386-redhat-linux/3.4.0/../../../../include/c++/3.4.0/ostream:45, from /usr/lib/gcc/i386-redhat-linux/3.4.0/../../../../include/c++/3.4.0/iostream:45, from cxx_iostream.cpp:1: /usr/lib/gcc/i386-redhat-linux/3.4.0/../../../../include/c++/3.4.0/cstdio:167: error: `::snprintf' has not been declared /usr/lib/gcc/i386-redhat-linux/3.4.0/../../../../include/c++/3.4.0/cstdio:168: error: `::vfscanf' has not been declared /usr/lib/gcc/i386-redhat-linux/3.4.0/../../../../include/c++/3.4.0/cstdio:169: error: `::vscanf' has not been declared /usr/lib/gcc/i386-redhat-linux/3.4.0/../../../../include/c++/3.4.0/cstdio:171: error: `::vsscanf' has not been declared ....
The error list goes on for a few pages. This is with Winelib 20041019 on FC2 (gcc 3.4).
Do I need some #defines to correct this? I tried scanning the gcc headers with that in mind, but couldn't find any which solved this.
Are the GCC C++ includes incompatible with the winelib headers?
Geoff