Re: [osg-users] warning C6246 UpdateVisitor

2008-03-03 Thread Jean-Sébastien Guay
Hi Robert, >> OSG 2.3.4 >> >> UpdateVisitor >> >> #91 >> osg::NodeCallback* callback = geode.getUpdateCallback(); >> if (callback) (*callback)(&geode,this); >> >> // Call the app callbacks on the drawables. >> for(unsigned int i=0;i> { >>

Re: [osg-users] warning C6246 UpdateVisitor

2008-03-03 Thread Robert Osfield
Ahh you gotta love when a complier complains about perfectly legal and correct C++ code. The code *is* correct, its the warning that is being stupid whilst "trying" to be extra clever. What compiler are you using? On Mon, Mar 3, 2008 at 3:35 AM, IceSharK <[EMAIL PROTECTED]> wrote: > > Hi~ > > >

[osg-users] warning C6246 UpdateVisitor

2008-03-02 Thread IceSharK
Hi~ warning *C6246*: Local declaration of hides declaration of same name in outer scope. Additional Information: See previous declaration at . This warning indicates that two declarations have the same name at local scope. The name at outer scope is hidden by the declaration at the inner scope.