"Young S. Cho" <[EMAIL PROTECTED]> wrote in message news:68044@palm-dev-forum... > > Thanks Ben for your answer, they're always appreciated. Unfortunately, the > code that I was trying to compile as a shared library is an open source > stuff that uses "static" all over the place. I am now trying to compile it > directly into my app. However, my project requires "Activate C++ Compiler" > option be turned on. That causes the open source stuff that I'm bringing in > to complain about the function headers. The function definitions are in the > old K&R style:
Why do you need the "Activate C++ Compiler" setting? You might not understand what that does -- it is not required for C++ programs -- it just forces every file to be compiled as C++. The compiler will always treat a .cpp, .cc, cxx, .c++, or .cp file as C++ (in fact, it treats anything other than .c as C++). > BTW, I tried getting the help screen in the "Settings" screen by pressing > F1. The CW IDE complained about a PFrontEndC.hlp file not being present. I > searched for the file but could not find it. Is this help file available > somewhere? I was trying to get help on the "Multi-Byte Aware" option. Does > this option allow Unicode or any multi-byte character set support? Don't look there -- look in the "C Compilers Reference" document that should be somewhere in your "CodeWarrior Manuals" folder. For reference, the "Multi-Byte Aware" option affects how the compiler parses source files. With it on, you can use multi-byte scripts in comments and strings. To quote the reference: >>>>>> The C compiler supports languages that use more than one byte to represent a character, such as Unicode and Japanese Kanji. This feature is controlled by the Multi-Byte Aware item in the C/C++ Language Panel. To use multibyte strings or comments, turn on the Multi-Byte Aware option. If you don't need multibyte strings or comments, turn this option off, because it slows down the compiler. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
