Hi Roland,

The this->_value trick worked, I had to make a couple of other similar
changes and qualifications too, and now it's compiling.

Cheers,
Robert.

On Tue, Jun 22, 2010 at 1:01 PM, Roland Smeenk <[email protected]> wrote:
> Hi Robert,
>
> code was developed and tested with Visual Studio 2005 so this compiler may be 
> more forgiving or even allow bad C++. Don't know. I have no environment with 
> GCC environment at hand so I have to guess what might work.
>
> What might work is to explicitly access the _value member in the base class 
> with a this pointer.
>
> Code:
> this->_value
>
>
>
> Another solution might be to explicitly qualify the member using 
> template-style syntax
>
> Code:
> Tweaker < T > ::_value
>
>
> (weird formatting needed to prevent forum to interpret this line)
>
> regards,
>
> Roland
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=29263#29263
>
>
>
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to