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;
regards, Fedor. On Wed, Nov 10, 2010 at 11:55:50PM +0100, Roland Mainz wrote: > Hi! > > ---- > > 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. > > ---- > > 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] _______________________________________________ tools-compilers mailing list [email protected]
