> I have coded a static Palm OS library. I had used
> palm-OS stationery for creating my project and MW
> Code- Warrior automatically added "starter.cpp" to my
> project.I removed all code that was automatically
> generated in "starter.cpp" and  then used the same
> file "starter.cpp" for all my code.The library (.lib)
> that was being formed was of size 21K.
>
> Now,when i change the name of "starter.cpp" to
> something else say "xyz.cpp" the lib size goes down to
> 12K.This leaves me puzzled,,for there is no difference
> in the files.Just a difference in name brings down the
> size by almost 9K.
> Anyone please help me solve this mystery ?
>

Do you use
ErrFatalDisplay/ErrFatalDisplayIf/ErrNonFatalDisplay/ErrNonFatalDisplayIf?
These capture the source filename as part of the error text.

Seems unlikely it'd cause *that* much code bloat, though.


Neil

--
Neil Rhodes
Calliope Enterprises, Inc.
1328 Clock Avenue
Redlands, CA  92374
(909) 793-5995     [EMAIL PROTECTED]      fax: (909) 793-2545

-- 
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