Hi All,
I'm new to Code Warrior and haven't worked in C in several years.
I've tried to get a project started by using a sample of the hello
world project in the book "Palm OS Programming Bible". The sample
project from the book compiles fine. I've set all my project
preferences exactly the same as their sample, but when I try to
compile, I get a gazillion errors beginning with:
Error : declaration syntax error
mslconfig line 219 namespace std {
Error : declaration syntax error
mslconfig line 225 } // namespace std
Error : declaration syntax error
mslconfig line 238 ::std
Can anyone point me to a solution? I must have something defined
somewhere that shouldn't be there. My intension is to use straight C
as opposed to C++.
I've posted this message on another group and gotten suggestions
having to do with namespace and access paths. I don't know where to
look for namespace stuff and I don't have any access paths defined
except "project". The thing that confuses me is that both projects
(mine and the sample) have exactly the same project preferences. The
sample project compiles but mine doesn't. The only difference is that
I created my project and the other came on the books' CD.
Thanks for any help,
Steve