2010/11/11 <[email protected]>: > On Wed, Nov 10, 2010 at 11:55:50PM +0100, Roland Mainz wrote: >> Does Sun Studio have an equivalent to gcc's "-Wstrict-aliasing" >> warning option ? We need to hunt down some issues with C99 aliasing >> rules when -xalias_level is set to "std" or "basic" and need a way to >> find the "offending" locations in the code. > Sun Studio lint does have a special alias-checking mode: > > lint -flags | grep alias > -Xalias_level[=<a>] Enable detection of possible violation of alias > disambiguation rules corresponding to given alias level;
Thanks! ... :-) ... is there any other "lint" or "cc" option which may be usefull in this case ? Any idea how I can set this flag in OS/Net library Makfiles ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [email protected] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) _______________________________________________ tools-compilers mailing list [email protected]
