Hello Daniel,

daniel trindade wrote:
> I'm trying to compile the last OpenSG revision and it gives the 
> following errors:
> 
> [ 40%] Building CXX object 
> Build/OSGDrawable/CMakeFiles/OSGDrawable.dir/Geometry/Properties/OSGGeoIntegralBufferPropertyBase.cpp.obj
> 
> 
> OSGGeoIntegralBufferPropertyBase.cpp
> 
> c:\hudson\work\workspace\opensg-2.0-windows-x86-vc80\src\source\system\nodecores\drawables\geometry\properties\OSGGeoIntegralBufferProperty.h(116)
>  : warning C4301: 'OSG::GeoIntegralBufferProperty::getGenericValue': 
> overriding virtual function only differs from 
> 'OSG::GeoIntegralProperty::getGenericValue' by const/volatile qualifier
> 
> 
>         
> c:\hudson\work\workspace\opensg-2.0-windows-x86-vc80\src\source\system\nodecores\drawables\geometry\properties\OSGGeoIntegralProperty.h(196)
>  : see declaration of 'OSG::GeoIntegralProperty::getGenericValue'
[SNIP]

> I'm using VS2005 on Windows 32 bits.

hm, strange, AFAICT the compiler seems to complain about a mismatch in 
const qualifiers between the abstract 
GeoIntegralProperty::getGenericValue() const and 
GeoIntegralBufferProperty::getGenericValue() const - which look to me 
very much like they have the same const qualification ;) ;)

The only difference I could see was the const qualifier of the second 
argument, I'm compile testing a patch for that right now, but I don't 
have VS2005 and VS2008 does not show the problem in the first place...

        Cheers,
                Carsten

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to