I have read that windows CE supports the STL library however when I attempt to use components from the STL library such as
<map> or <vector> I get the following error
c:\program files\windows ce tools\wce420\pocket pc 2003\include\armv4\xmemory(46) : error C2660: 'new' : function does not take 2 parameters
c:\program files\windows ce tools\wce420\pocket pc 2003\include\armv4\xmemory(78) : see reference to function template instantiation 'void __cdecl std::_Construct(unsigned int *,const unsigned int &)' being compiled
I have tried starting new projects and just adding in the header files and assigning some memory to a std::map but it still gives me that error.
I have also tried switching from debug to release version of the compiler and I still recieve the same error.
The only time I have been able to get rid of the error is to turn off precompiled headers and move the include declaration for <map> or <vector> above that of the "stdafx.h".
The development environment being used for this is the embedded c++ 4 with service pack 2 and the SDK for pocket pc 2003 installed.
Any help on this problem would be apprecaiated.