in article 29654@palm-dev-forum, Michal Seliga at [EMAIL PROTECTED]
wrote on 2000-11-09 10:32:
> Our project in C++ is quite large and now we run out of global variables
> space. Codewarrior shows, that we use 45kB of data and MAP file generated by
> linker shows that we use 32kB of data section below A5 and 18698 bytes above
> A5.
You say you're using C++. Are you using virtual member functions? The
vtables also use up global data space. Perhaps you could declare fewer
functions as virtual (i.e. only the ones that really need to be virtual
now).
I think string constants can also be stored in global data space, depending
on compiler settings. If you have a lot of these, moving them to resources
could help too.
______________________________________________________________________
Philip D. Wasson pwasson@maned dot com
Code Generator
Managing Editor, Inc.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/