Commit 8897d921 authored by Mathieu Malaterre's avatar Mathieu Malaterre

ENH: Fix compilation on Mac OSX using xlC and shared lib

parent 5f0f2b99
......@@ -18,10 +18,10 @@
#include "vtkCommand.h"
#include "vtkTimeStamp.h"
vtkCxxRevisionMacro(vtkObject, "1.88");
vtkCxxRevisionMacro(vtkObject, "1.89");
//----- This hack needed to compile using gcc3 on OSX until new stdc++.dylib
#ifdef __APPLE_CC__
#ifdef __APPLE__
extern "C"
{void oft_initCommon()
{
......
......@@ -17,11 +17,11 @@
#include "vtkObjectFactory.h"
#include "vtkPiecewiseFunction.h"
vtkCxxRevisionMacro(vtkCardinalSpline, "1.24");
vtkCxxRevisionMacro(vtkCardinalSpline, "1.25");
vtkStandardNewMacro(vtkCardinalSpline);
//----- This hack needed to compile using gcc3 on OSX until new stdc++.dylib
#ifdef __APPLE_CC__
#ifdef __APPLE__
extern "C"
{
void oft_initFiltering()
......
......@@ -22,11 +22,11 @@
#include "vtkPointData.h"
#include "vtkUnstructuredGrid.h"
vtkCxxRevisionMacro(vtkAppendFilter, "1.66");
vtkCxxRevisionMacro(vtkAppendFilter, "1.67");
vtkStandardNewMacro(vtkAppendFilter);
//----- This hack needed to compile using gcc3 on OSX until new stdc++.dylib
#ifdef __APPLE_CC__
#ifdef __APPLE__
extern "C"
{
void oft_initGraphics()
......
......@@ -27,11 +27,11 @@
#include "vtkRenderer.h"
#include "vtkStripper.h"
vtkCxxRevisionMacro(vtk3DSImporter, "1.36");
vtkCxxRevisionMacro(vtk3DSImporter, "1.37");
vtkStandardNewMacro(vtk3DSImporter);
//----- This hack needed to compile using gcc3 on OSX until new stdc++.dylib
#ifdef __APPLE_CC__
#ifdef __APPLE__
extern "C"
{
void oft_initHybrid()
......
......@@ -20,7 +20,7 @@
#include "vtkObjectFactory.h"
#include "vtkPointData.h"
vtkCxxRevisionMacro(vtkBMPReader, "1.46");
vtkCxxRevisionMacro(vtkBMPReader, "1.47");
vtkStandardNewMacro(vtkBMPReader);
#ifdef read
......@@ -28,7 +28,7 @@ vtkStandardNewMacro(vtkBMPReader);
#endif
//----- This hack needed to compile using gcc3 on OSX until new stdc++.dylib
#ifdef __APPLE_CC__
#ifdef __APPLE__
extern "C"
{
void oft_initIO()
......
......@@ -19,11 +19,11 @@
#include "vtkPointData.h"
#include "vtkUnsignedCharArray.h"
vtkCxxRevisionMacro(vtkBooleanTexture, "1.37");
vtkCxxRevisionMacro(vtkBooleanTexture, "1.38");
vtkStandardNewMacro(vtkBooleanTexture);
//----- This hack needed to compile using gcc3 on OSX until new stdc++.dylib
#ifdef __APPLE_CC__
#ifdef __APPLE__
extern "C"
{
void oft_initImaging()
......
......@@ -18,13 +18,13 @@
#include "vtkSource.h"
#include "vtkImageData.h"
vtkCxxRevisionMacro(vtkBranchExtentTranslator, "1.13");
vtkCxxRevisionMacro(vtkBranchExtentTranslator, "1.14");
vtkStandardNewMacro(vtkBranchExtentTranslator);
vtkCxxSetObjectMacro(vtkBranchExtentTranslator,OriginalSource,vtkImageData);
//----- This hack needed to compile using gcc3 on OSX until new stdc++.dylib
#ifdef __APPLE_CC__
#ifdef __APPLE__
extern "C"
{
void oft_initParallel()
......
......@@ -39,11 +39,11 @@
#include "vtkPolyData.h"
#include "vtkTriangle.h"
vtkCxxRevisionMacro(vtkDecimate, "1.78");
vtkCxxRevisionMacro(vtkDecimate, "1.79");
vtkStandardNewMacro(vtkDecimate);
//----- This hack needed to compile using gcc3 on OSX until new stdc++.dylib
#ifdef __APPLE_CC__
#ifdef __APPLE__
extern "C"
{
void oft_initPatented()
......
......@@ -16,10 +16,10 @@
#include "vtkDataSet.h"
#include "vtkMath.h"
vtkCxxRevisionMacro(vtkAbstractMapper3D, "1.17");
vtkCxxRevisionMacro(vtkAbstractMapper3D, "1.18");
//----- This hack needed to compile using gcc3 on OSX until new stdc++.dylib
#ifdef __APPLE_CC__
#ifdef __APPLE__
extern "C"
{
void oft_initRendering()
......
......@@ -21,7 +21,7 @@
//----- This hack needed to compile using gcc3 on OSX until new stdc++.dylib
#ifdef __APPLE_CC__
#ifdef __APPLE__
extern "C"
{
void oft_initRenderingWidgets()
......
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