From Norman Vine, fixes for Mingw

This commit is contained in:
Robert Osfield
2004-08-02 09:11:31 +00:00
parent e122b34858
commit 6524fe1293
25 changed files with 113 additions and 14 deletions

View File

@@ -54,7 +54,7 @@ class SG_EXPORT ConvexPlanarOccluder : public Object
protected:
~ConvexPlanarOccluder() {}
~ConvexPlanarOccluder(); // {}
ConvexPlanarPolygon _occluder;
HoleList _holeList;

View File

@@ -19,7 +19,9 @@
#if defined(WIN32)
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#ifndef NOMINMAX
#define NOMINMAX
#endif // NOMINMAX
#include <windows.h>
#elif defined(__APPLE__)
#include <mach-o/dyld.h>

View File

@@ -82,7 +82,7 @@ class SG_EXPORT Shape : public Object
protected:
virtual ~Shape() {}
virtual ~Shape();
};
// forward declartions of Shape types.
@@ -571,7 +571,7 @@ class SG_EXPORT HeightField : public Shape
protected:
~HeightField() {}
virtual ~HeightField();
unsigned int _columns,_rows;

View File

@@ -31,7 +31,7 @@ namespace osgDB {
class OSGDB_EXPORT ReaderWriter : public osg::Referenced
{
public:
virtual ~ReaderWriter() {}
virtual ~ReaderWriter(); // {}
virtual const char* className() = 0;
virtual bool acceptsExtension(const std::string& /*extension*/) { return false; }

View File

@@ -292,7 +292,7 @@ protected:
GUIEventAdapter(MouseYOrientation myo=Y_INCREASING_DOWNWARDS):_mouseYOrientation(myo) {}
/** Force users to create on heap, so that multiple referencing is safe.*/
virtual ~GUIEventAdapter() {}
virtual ~GUIEventAdapter(); // {}
MouseYOrientation _mouseYOrientation;

View File

@@ -135,7 +135,7 @@ class OSGPRODUCER_EXPORT OsgCameraGroup : public Producer::CameraGroup
virtual void operator()( OsgCameraGroup& cg, OsgSceneHandler& sh, const Producer::RenderSurface & rs) = 0;
protected:
virtual ~RealizeCallback() {}
virtual ~RealizeCallback(); // {}
};
/** Set the realize callback to use when once the render surfaces are realized.*/

View File

@@ -224,7 +224,8 @@ public:
/** force update the drawables used to render the scalar bar.*/
void update() { createDrawables(); }
private:
protected:
virtual ~ScalarBar();
int _numColors;
int _numLabels;