On 2 June 2016 at 20:03, Robert Osfield <[email protected]> wrote:
>     IF(${CMAKE_MAJOR_VERSION} GREATER 2 AND CMAKE_CXX_COMPILER_VERSION
> VERSION_GREATER 4.9)
>         SET(OSG_AGGRESSIVE_WARNING_FLAGS
> ${OSG_AGGRESSIVE_WARNING_FLAGS} -Wshadow)
>     ENDIF()
>
> Works for me under Kubuntu 16.04 with modern version of gcc (5.3.1).
> I will now check my Kubuntu 14.04 to see if the warnings appear...
> fingers crossed.

Works under Kubuntu 14.04 with gcc 4.8.4, so both now compile cleanly
without warnings :-)
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to