[osg-users] osgWidget::Window macro issue
robert.osfield at gmail.com
Mon Sep 1 06:25:35 PDT 2008
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.
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.
> On Fri, Aug 29, 2008 at 4:07 PM, Max Bandazian <mbandazian at gmail.com> wrote:
>> 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
>> - Max Bandazian
>> osg-users mailing list
>> osg-users at lists.openscenegraph.org
More information about the osg-users