I am working on a large project and now I am stack on this "Near data segment is bigger than 64k" error.
If I comment the "FrmSetEventHandler(frm, DadosConstrutivos1HandleEvent);" on PrvAppHandleEvent in PilotMain the program compiles it nice. If I try to use de call, I got the error message.
I am already using multi-segment and "Expanded Mode".
How do I resolve this?
Thanks Rodrigo Leite Gomide
I don't use CodeWarrior, but I use PocketStudio instead and the "same problem" happens to me a lot.
Each unit is a "segment of code", so when your compiled unit grows larger than 64k of code, the compiler warns you and don't link your code.
Try to move some code from that unit to other one.
Or You can use #pragma:
Regards,
Christian.