"Viraj Chatterjee" <[EMAIL PROTECTED]> wrote in message
news:56358@palm-dev-forum...
>
> Was trying to port code from CW6 to CW7. Ran into some problems:
>
> 1. Link errors like
> Foo.cpp : @140 in function foo() not defined
>
> Found that @140 was a call to a function that used a default
parameter, the
> function declaration was somewhat like this...
> func(type = const value);
>
> when I removed the const value with a variable having the same value
like..
>
> type var = const value;
> func(type = const value)
>
> All the above errors were solved..., however I ran into another one
which I
> was unable to solve...
>
> 2. @170 in __InitCode0__ not defined...
>
> How do I track down what this @170 is and what is __InitCode0__....???
>
> any guesses on the above...

Any "@num" function is an internally generated compiler stubs.  Since
this is referred by from __InitCode0__, its probabaly due to some sort
of global object constructor.

Liberal use of the "Disassemble" function and editor search should be
useful for figuring this out.



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

Reply via email to