Alexander.Gorshenev at Sun.COM wrote: > On Wed, 19 Mar 2008, Roland Mainz wrote: > > Keith M Wesolowski wrote: > >> On Sat, Mar 15, 2008 at 04:47:25PM +0100, Roland Mainz wrote: [snip] > In fact it has. > You can "link" .ln files effectively making the interprocedural/intermodule > analysis. > But you need lint2 (or better lint2n, i.e. -Nlevel=...) > To speed up transition from single file to multifile consider using > -erroff=... to switch all the messages lint is complaining about. > > *And* make sure to file your idea of the compiler flag for initializations > through bugs.sun.com, I mean it.
I'll do it via bugster directly... and I may try to escalate it since we need such a capabilty in OS/Net _badly_. > *And* have you considered playing with a mapfile or assembly to make bss > writable > and explicitly filling it with 0xdeadbeef or something like that? no idea > if that is really possible... It's possible but not usefull since it will only init the variables for the first invocation of a function and not for every invocation... and AFAIK it cannot init the whole stack. ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL <currently fluctuating> (;O/ \/ \O;)
