I want to use STL strings in Codewarrior for Palm OS with GapiDraw, but I can't get my project to compile.  To make sure nothing in my project was causing the problem, I opened up simple.mcp from the palm samples and added this line to myapplication.cpp.
#include <string>
Below are the errors I got when I tried to compile.  I'm using GapiDraw 3.5 Beta 3.  If I create a project that doesn't use GapiDraw in Codewarrior, I can use std::string without any problems.
Error   : macro 'stdin' redefined
(included from:
 cstdio:26
 string:354
 myapplication.cpp:5)
file_struc.h line 185   (&__std(__files[0]))   /*- mm 961031 -*/    /*- mm 961203 -*/ /*- mm 000201 -*/
Error   : macro 'stdout' redefined
(included from:
 cstdio:26
 string:354
 myapplication.cpp:5)
file_struc.h line 186   (&__std(__files[1]))   /*- mm 961031 -*/    /*- mm 961203 -*/ /*- mm 000201 -*/
Error   : macro 'stderr' redefined
(included from:
 cstdio:26
 string:354
 myapplication.cpp:5)
file_struc.h line 187   (&__std(__files[2]))   /*- mm 961031 -*/    /*- mm 961203 -*/ /*- mm 000201 -*/
Error   : declaration syntax error
(included from:
 string:354
 myapplication.cpp:5)
cstdio line 57   StrVPrintF(char * s,(const Char *)const char * format,va_list arg)
Error   : illegal use of 'inline'
(included from:
 string:354
 myapplication.cpp:5)
cstdio line 124   Siofgetc( (& ::std::__files[0]))
Error   : data type is incomplete
(included from:
 string:354
 myapplication.cpp:5)
cstdio line 125     { return getc(stdin); }
Error   : declaration syntax error
(included from:
 string:354
 myapplication.cpp:5)
cstdio line 127   Siofputc(int c,  (& ::std::__files[1]))
Error   : expression syntax error
(included from:
 string:354
 myapplication.cpp:5)
cstdio line 131     { return file->state.eof; }
Error   : expression syntax error
(included from:
 string:354
 myapplication.cpp:5)
cstdio line 134     { return file->state.error; }
Error   : declaration syntax error
(included from:
 string:354
 myapplication.cpp:5)
cstdio line 170   }
			
		


