   mingw compile problems
  I just downloaded code blocks and am giving that a try. I'm getting errors, not sure if they are compile or link errors:Switching to target: defaultCompiling: TestSkin.cppIn file included from d:/apps/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/cwchar:51,  from d:/apps/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/bits/postypes.h:46,  from d:/apps/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/iosfwd:50,  from d:/apps/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/bits/stl_algobase.h:70,  from d:/apps/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/bits/char_traits.h:46,  from d:/apps/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/string:47,  from ../Util/File.h:5,  from ../Util/array.h:4,  from ../Engine/Mesh.h:12,  from TestSkin.cpp:3:d:/apps/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/ctime:66: error: `::clock_t' has not been declaredd:/apps/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/ctime:68: error: `::tm' has not been declaredd:/apps/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/ctime:70: error: `::clock' has not been declaredd:/apps/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/ctime:71: error: `::difftime' has not been declaredd:/apps/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/ctime:72: error: `::mktime' has not been declaredd:/apps/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/ctime:73: error: `::time' has not been declaredd:/apps/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/ctime:74: error: `::asctime' has not been declaredd:/apps/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/ctime:75: error: `::ctime' has not been declaredd:/apps/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/ctime:76: error: `::gmtime' has not been declaredd:/apps/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/ctime:77: error: `::localtime' has not been declaredd:/apps/CodeBlocks/bin/../lib/gcc/mingw32/3.4.4/../../../../include/c++/3.4.4/ctime:78: error: `::strftime' has not been declaredso it looks like the problem is comming from my #include <string>header, which ends up including ctime, which looks like this:#ifndef _GLIBCXX_CTIME#define _GLIBCXX_CTIME 1#pragma GCC system_header#include <cstddef>#include <time.h>// Get rid of those macros defined in <time.h> in lieu of real functions.#undef clock#undef difftime#undef mktime#undef time#undef asctime#undef ctime#undef gmtime#undef localtime#undef strftimenamespace std{  using ::clock_t;  using ::time_t;  using ::tm;  using ::clock;  using ::difftime;  using ::mktime;  using ::time;  using ::asctime;  using ::ctime;  using ::gmtime;  using ::localtime;  using ::strftime;}#endifany ideas what the problem actually is and how to get around it?commenting out the #undef and the namespace block seems to fix it, but its pretty dodgey :P   
  Those are compile errors and very unusual ones, too. It looks to me as if the C++ std library is somehow broken.If you don't insist on using GCC, you can try the free MS VC++ 2003 Toolkit, which also works with Code::Blocks and seems to be a "more natural" choice for programming under windows.