|
From: Brian D. <br...@de...> - 2006-03-15 04:10:37
|
Joseph McCay wrote: > The following code gives me 52 errors. I am using mingw 3.4.5, and I > got the same results with 3.4.4. What am I missing? Your testcase compiles fine for me with zero errors. $ cat map_testcase.cc #include <map> #include <string> using namespace std; typedef std::map<string,int> objPropsMap; $ g++ -c -Wall map_testcase.cc $ > In file included from C:/development/compilers/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/map:66, > from ptl_interfaces.h:17, > from main.cpp:2: What is ptl_interfaces.h? It's not referenced in your testcase and it's not any part of the mingw tools that I can tell, so it would seem that your error output is not actually from the testcase. If you want assistance you should include the exact command that you use to compile, and the exact sources used for the testcase, not a fictional edited version. Brian |