[osg-users] osgWidget::Window macro issue

Robert Osfield robert.osfield at gmail.com
Mon Sep 1 00:54:09 PDT 2008

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.


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

More information about the osg-users mailing list