How to resolve the 'Near data segment is bigger than 64k' problem on Palm using CodeWarrior9? -


I am working on a large project and now I am stacking it on "data segment is more than 64k " Error.

If I "FrmSetEventHandler (frm, DadosConstrutivos1HandleEvent);" I comment; Program on PrvAppHandleEvent in Pilot Men makes it compile well. If I try to use the call, I've got the error message.

I'm already using multi-segment and "extended mode".

How do I solve it?

I do not use code warrior, but I instead of PocketStudio I use and "the same problem" is too much for me.

Each unit is a "Segment of Code", so when your aggregate unit gets larger than 64k code, compiler warns

Try to take some code from that unit to the other.

Or you can use #pragma:

  #sargama segement seg 1 ... code ... #prram segment seg 2 ... code .. .  

Regards,

Christian


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -