Path: chuka.playstation.co.uk!scea!greg_labrec@interactive.sony.com From: sumner@metrowerks.com (Joel Sumner) Newsgroups: scea.yaroze.programming.codewarrior Subject: Re: Some concerns and ideas re CW Date: Tue, 22 Jul 1997 17:10:21 -0500 Organization: Metrowerks Lines: 16 Message-ID: References: <01bc8513$4e939960$9fbf43ce@wkwerner> <33b95c29.25784289@news.scea.sony.com> <01bc869b$d2a65420$6fbf43ce@wkwerner> <33c5903d.29746230@news.scea.sony.com> <01bc8e50$614263c0$87bf43ce@wkwerner> <33c908ae.79813459@news.scea.sony.com> NNTP-Posting-Host: 198.214.227.194 X-Newsreader: Anawave Gravity v1.10 In article <33c908ae.79813459@news.scea.sony.com>, jamin1@psu.edu says... > So does this mean there's *no* overhead when linking an object > library? How about class-static data? Or should this be avoided so > this doesn't have to be unecessarily piled onto the heap? > > Jamin > Yes, this is correct. Unused global variables are stripped if they aren't referenced. I'm pretty sure that the same goes for class variables since they are just a special case of global variables (referenced via classname) -- ------------------------- PlayStation Debugger Dude Metrowerks