Hi Hartwig,

On 1 March 2015 at 16:57, Hartwig Wiesmann <[email protected]>
wrote:

> Therefore, it is possible to change the parameter types in these cases?
>

That work break the API and backwards compatibility for everyone just to
fix some benign warnings on one particular platform with one particular set
of warning options enabled.  Often the types used match up with other bits
of API such as OpenGL, so you might fix one warning one place but then
introduce others elsewhere.

By all means enable extra warnings - the OSG already enabled many by
default, but it if you end you up with lots of stupid warnings about things
that aren't an issue at all you really do need to question the value of
those warnings.  Some warnings are trivial to fix others cause harm
elsewhere in the code and any code modification has the chance to introduce
new bugs - I know first hand, previous warning purges ended up introducing
subtle OSG bugs that weren't spotted right away and wasted lots of time
later when they were traced and fixed.

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

Reply via email to