mromeo
asked on
Can't compile STL into Win32 Console App
Hi. I am trying to add the std::map and std::string types to my project. All I did was add the following to the top of one of my header files:
#include <string>
#include <map>
using namespace std;
I get hundereds of errors and warning. Some of the errors look like:
warning C4002: too many actual parameters for macro 'move'
c:\program files\microsoft visual studio\vc98\include\iosfwd (110) : error C2061: syntax error : identifier 'stdscr'
c:\program files\microsoft visual studio\vc98\include\iosfwd (135) : see reference to class template instantiation 'std::char_traits<_E>' being compiled
c:\program files\microsoft visual studio\vc98\include\iosfwd (159) : warning C4002: too many actual parameters for macro 'move'
c:\program files\microsoft visual studio\vc98\include\iosfwd (159) : error C2061: syntax error : identifier 'stdscr'
c:\program files\microsoft visual studio\vc98\include\iosfwd (198) : warning C4002: too many actual parameters for macro 'move'
c:\program files\microsoft visual studio\vc98\include\iosfwd (198) : error C2061: syntax error : identifier 'stdscr'
etc................
Does anybody have any idea why this would happen? Thanks.
#include <string>
#include <map>
using namespace std;
I get hundereds of errors and warning. Some of the errors look like:
warning C4002: too many actual parameters for macro 'move'
c:\program files\microsoft visual studio\vc98\include\iosfwd
c:\program files\microsoft visual studio\vc98\include\iosfwd
c:\program files\microsoft visual studio\vc98\include\iosfwd
c:\program files\microsoft visual studio\vc98\include\iosfwd
c:\program files\microsoft visual studio\vc98\include\iosfwd
c:\program files\microsoft visual studio\vc98\include\iosfwd
etc................
Does anybody have any idea why this would happen? Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER