Hi,
I am trying to port somebody elses application to PalmOS platform. One of
the source file has GOTO's and Labels in it (bad programming practice... I
know). My project is multi-segment. When I tried to build my application
with "Small" code model, I get lots of "... 16 bit code reference ..."
errors while linking. But everything compiles just line. I have to switch
to the "Smart" code model to avoid 16 bit code reference link errors. Once
I do that I get a weird "COMPILATION" error for the "goto" file. The error
says:
Error: Reference to label '@560' is out of range
(and the IDE points to the end of the 'goto' file)
There is NO '@560' label anywhere so it must be some internal code for a
particular goto label for the compiler (I assume). The "Smart" code model
probably increases the code size (for 32 bit jumps) in such a way that it
screws the goto logic. I have tried all kinds of various stuff but can not
get rid of this problem. The code is not mine and it is sophisticated
enough that it will take too long to change it. Even if I try to change it
I don't have any clue where to begin as I can not find any documentation for
this error.
Thanks in advance for your help.
Kamran
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/