Hi all,

I'm using the following lines of code:

    osg::Texture2d *tex = new osgTexture2d();
    tex->setWrap(osg::Texture::WRAP_S, osg::Texture::WrapMode::REPEAT);

I keep getting a VC warning message that says:
    
    warning C4482: nonstandard extension used: enum 'osg::Texture::WrapMode' 
used in a qualified name

I cannot figure out how to remove the warning.  If I remove osg, Texture, or 
WrapMode I get a compiler error.  I don't want to turn off warnings, I just 
want to get rid of this particular message. What is wrong with fully 
qualifiying the enumeration value?

Keith
 
    

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

Reply via email to