[osg-users] osgWidget::Window macro issue

Max Bandazian mbandazian at gmail.com
Tue Sep 2 09:47:58 PDT 2008


Thanks, I tried it and it's working fine now.

-Max Bandazian

On Mon, Sep 1, 2008 at 9:25 AM, Robert Osfield <robert.osfield at gmail.com>wrote:

> Hi Max,
>
> I've gone ahead and renamed the min and curr member variables to
> minimum and current, could you please test the SVN trunk version of
> the OSG to check if this now compiles fine on your system.
>
> Cheers,
> Robert.
>
> On Mon, Sep 1, 2008 at 8:54 AM, Robert Osfield <robert.osfield at gmail.com>
> wrote:
> > Hi Max,
> >
> > If you have a fix could you post the whole modified file to
> > osg-submissions so that it can get reviewed by Jeremy and myself.
> >
> > Cheers,
> > Robert.
> >
> > On Fri, Aug 29, 2008 at 4:07 PM, Max Bandazian <mbandazian at gmail.com>
> wrote:
> >> Hi,
> >>
> >> I just ran into a hiccup using osgWidget, which seems easy enough to
> fix.
> >> Lines 49-57 of the osgWidget::Window header define a struct containing a
> >> member variable called min. Elsewhere in OSG, there is a #define
> min(a,b)
> >> ..., so if both are #included compiler errors result. I would suggest
> just
> >> renaming the min in Window to minimum, or maybe _min if you like
> >> underscores.
> >>
> >> - Max Bandazian
> >>
> >> _______________________________________________
> >> osg-users mailing list
> >> osg-users at lists.openscenegraph.org
> >>
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >>
> >>
> >
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080902/af2ba49e/attachment-0003.htm>


More information about the osg-users mailing list