#27 Compile Failure MinGW 3.4.5

open
nobody
None
5
2009-05-05
2009-05-05
Anonymous
No

Clean install of MinGW, GnuWin32 tools.
1.4 UnitTest++
After fixing sed to use double quotes, I get the following error:

G:\devel\ext\UnitTest++>make
src/Test.cpp
In file included from C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/bits/postypes.h:46,
from C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iosfwd:50,
from C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/ios:44,
from C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/istream:45,
from C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/sstream:45,
from src/MemoryOutStream.h:8,
from src/Test.cpp:6:
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/cwchar:161: error: `::swprintf' has not been declared
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/cwchar:168: error: `::vswprintf' has not been declared
mingw32-make.exe: *** [src/Test.o] Error 1

Not sure if it's UnitTest++ (missing some MinGW required include / compile parameter) or MinGW being buggy, though.

Discussion