Commit 24ae4f0b authored by Francois Bertel's avatar Francois Bertel

Fixed Mac compilation

parent 8206f703
......@@ -18,7 +18,18 @@
#include "vtkCommand.h"
#include "vtkTimeStamp.h"
vtkCxxRevisionMacro(vtkObject, "1.87");
vtkCxxRevisionMacro(vtkObject, "1.88");
//----- This hack needed to compile using gcc3 on OSX until new stdc++.dylib
#ifdef __APPLE_CC__
extern "C"
{void oft_initCommon()
{
extern void _ZNSt8ios_base4InitC4Ev();
_ZNSt8ios_base4InitC4Ev();
}
}
#endif
// Initialize static member that controls warning display
static int vtkObjectGlobalWarningDisplay = 1;
......
......@@ -22,20 +22,10 @@
#include "vtkPointData.h"
#include "vtkTimerLog.h"
vtkCxxRevisionMacro(vtkAbstractMapper, "1.1");
vtkCxxRevisionMacro(vtkAbstractMapper, "1.2");
vtkCxxSetObjectMacro(vtkAbstractMapper,ClippingPlanes,vtkPlaneCollection);
//----- This hack needed to compile using gcc3 on OSX until new stdc++.dylib
#ifdef __APPLE_CC__
extern "C"
{void oft_initCommon()
{
extern void _ZNSt8ios_base4InitC4Ev();
_ZNSt8ios_base4InitC4Ev();
}
}
#endif
// Construct object.
vtkAbstractMapper::vtkAbstractMapper()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment