I'm trying to compile CppUtest as library on IAR workbench v6.3.3 for the AVR UC3C0512C on Windows 7 x64 but when I compile it, it says that the std name space is not defined.
Here is the snipped of code where I get the first error, the file is SimpleString.h:
#if CPPUTEST_USE_STD_CPP_LIB
#include <string>
#include <stdint.h>
SimpleString StringFrom(const std::string& other);
The last line contains the std::string and this brings me 190 errors all related to this. The message is :
Error[Pe276]: name followed by "::" must be a class or namespace name
C:\COM\SRC\cpputest35\include\CppUTest\SimpleString.h 143
I have tried using the line below but it does not help:
using namespace std;

Under Library Configuration I select Normal DLIB, I also tried with Full DLIB but IAR can't see the std library

Any ideas please?