Hi,
I usally work with just C and compile the app with prc-tool's gcc
compiler (m68k-palmos-gcc under Linux) using the -O2 flag. Everything is
fine and I've had no problems with it.
For something I'm currently working on I decided to work with C++
because it would simplify the maths abstracttion.
When I compiled with the -O2 flag (m68k-palmos-g++) the application
behaved very strangly (lockups, ignoring some buttons and strange
exceptions) under the emulator with a 4.1 rom, on my TE, Zire and on a
mates Palm V.
As was certain the app wasnt doing anything *really* silly with memory
allocation so I removed the -O2 flag and the app was instantly stable on
everything except the v3 OS!
Is there something I should be looking for within my code at compile
time (hard I know to answer that one!) such as memory allocation which
would only show in C++ or is this a compile option thing?
Cheers
Kev,
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/