Hi Morne,

Thanks for the text file.  Analysing these warings I get a total of
321 warnings, which break down into categories:

244 C4100's.  "unreferenced formal parameter"
Some of these may suggest there might be an error, for the vast
majority they will be completely benign.  The way to fix them would be
typically be to add an /* */ around the variable name.

14 C4244's. "conversion from 'int' to 'unsigned char', possible loss of data""
Should be straight forward to fix using explict casts.

8 C4245's. "conversion from 'int' to 'unsigned int'"
Should be straight forward to fix using explict casts or change of type.


7 C4510's. "default constructor could not be generated"
Looks to more std list warnings that we probably can't fix.

35 C4512's. "assignment operator could not be generated"
Probably mostly benign, should be relatively straight forward to fix
by adding dummy constructors.


7 C4610's : "can never be instantiated - user defined constructor required"
These' are all std::list ones, so I guess we probably can't do
anything about it...

And some 7 others... I haven't accounted for in the mix somewhere.

Bascially C4100's flood the list so much as to make it more difficult
to spot more useful warnings, so I've checked in the disabling of this
warning via the root CMakeLists.txt.

Could end users under VS do another build with the change to
CMakeListst.txt as this will give a smaller set of warnings to work
on.

The warnings that look related to std::list may be things that we end
up having to suppress if they can't be fixed.

I will have a bash a fix a few of the above warnings that look like
there is chance that a bug might be lurking, the vast majority will be
just fixing nothing other than a benign warning, and since all changes
to code incur a risk of breaking code then suppressing them may well
be the best route forward.  Please check out the previous threads on
the warning purge for full discourse on this topic.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to