Hi,
I am using Code Warrior Version 5.7.0 for Coldfire 523*.
You are right. Actually what I am using is <list> and not list.h (my mistake in writing the previous messages!).
And regarding cross-checking my declarations/definitions, I am afraid I have not written any code to cross-check. What I did is in the CW IDE I created a new stationary C++ project for 5235EVB. Then in the main.cpp (that it automatically gave), I included <list>. On compilation, I got the above errors.
I checked the preprocessor output too. I am not sure from where it is getting 2 definitions/declarations for new because in the preprocessor output file, I could never see the other new declaration.
As everyone might be saying, I think may be it is some license issue. My main.cpp is simple and it looks like:
/*
* File: main.cpp
* Purpose: sample program
*
*/
#include <stdio.h>
#include <list>
int main()
{
printf("Hello World in C++\n\r");
fflush(stdout);
while(1); // Idle
return 0;
}
regards
tapu