Ximsce wrote:
> Possibly, I'm not using MSVC, just the arm-wince-cegcc-gcc by itself to
> cross-compile on a linux box and then transfer the app to an iPaq
> running Windows Mobile 5.  I'll look into the initialization routines
> and see if I can change something there, but honestly I've reverted the
> app back to a form that was working yesterday morning, and I can follow
> that to a crash as soon as it hits one of the methods I mentioned
> previously.  I'll keep looking for typos, but one thing I've noticed is
> that even if I don't explicitly include libraries like <string.h>, the
> program compiles with methods that should be included from this library,
> anyway.  Perhaps that is a clue?
>

What could happen is that you're passing wrong parameters into one of those
functions.  Since you didn't include the header that declares them, the compiler
couldn't warn you about it.  Instead, it normally warns you about
"return type defaulting to int".  Include every header needed and fix your code
until those warnings go away.

We can't help much further without a minimal compilable and
runnable example.  Many times, when one tries to reduce the app
trying to figure out what is it that's breaking it, one finds the problem.

Cheers,
Pedro Alves

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to