Robert Osfield wrote:
> I would like to finish this week with a 2.7.9 dev release, could users
> do a check out of svn/trunk and let know if your build succeeds/or
> where it fails.
>   
While compiling svn r9545 I got these warnings with gcc 4.1.2:

[ 34%] Building CXX object src/osgWidget/CMakeFiles/osgWidget.dir/Input.o
/home/melis/c/osg/svn/trunk/src/osgWidget/Input.cpp: In member function
'unsigned int osgWidget::Input::calculateBestYOffset(const std::string&)':
/home/melis/c/osg/svn/trunk/src/osgWidget/Input.cpp:169: warning:
passing 'float' for argument 1 to 'std::pair<_T1, _T2>::pair(const _T1&,
const _T2&) [with _T1 = unsigned int, _T2 = unsigned int]'
/home/melis/c/osg/svn/trunk/src/osgWidget/Input.cpp:169: warning:
passing 'float' for argument 2 to 'std::pair<_T1, _T2>::pair(const _T1&,
const _T2&) [with _T1 = unsigned int, _T2 = unsigned int]'
/home/melis/c/osg/svn/trunk/src/osgWidget/Input.cpp:178: warning:
passing 'float' for argument 1 to 'int abs(int)'

I can probably add a few casts, but I'm not sure if that wouldn't mask
something else...

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

Reply via email to