you will need to compile all files as c++, otherwise it will not work, or at
least i didn't found any way how to get rid of problems.

if you use codewarrior enable force c++ application in settings, and if you use
gcc then use g++ instread. then it should work

Scott Erickson wrote:
> Up to this point, i have been coding my application in C.  I am starting to
> port my companies hash scanner.  It showing errors when i complie it on
> statments like private: and class className{, along with other code that is
> code that would not work in a C project.  is there something I need to do to
> tell the compiler that there are C++ files.  It seems like a need to add a
> lib or a .h file or some setting that would allow it to compile pure C++
> files in the same project as C files.  Anyone have any info that might help
> me get the C++ files to compile without errors?
>

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to