On Wed, Jun 22, 2011 at 4:46 AM, Robert Osfield <robert.osfi...@gmail.com>wrote:
> Hi Ryan, > > I've used the latest rev of cppcheck in their git repository but don't > get a fraction of the warnigns that you do. I've addressed the ones > that I can fix and these were checked in for the rc2, two of the > warnings can't be fixed as the leak warnings it suggested are > associated with an interpretation of putenv behaviour that is only > valid for some implementations. > > What command line options did you use when running cppcheck? > > I'm using the > > cppcheck . 2> trunk.txt > > Suggested in the cppcheck -h. > > Robert. > I actually used the gui (do a cd gui; qmake; make to build it) and saved the log from there, but the --enable= option on the command line gives you the ability to enable the categories of warnings. Not sure how to get the exact mix of options I used on the command line, but this will give you a superset of them: cppcheck --enable=all . 2> trunk.txt Ryan -- Ryan Pavlik HCI Graduate Student Virtual Reality Applications Center Iowa State University rpav...@iastate.edu http://academic.cleardefinition.com
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org