Commit 179e285f authored by Robert Maynard's avatar Robert Maynard Committed by Code Review
Browse files

Merge topic 'clang-template-visibility' into master

2f02fa58 Change __APPLE__ to __clang__ for Clang visibilty fix
parents dc5e1955 2f02fa58
......@@ -34,7 +34,12 @@ class vtkIndent;
class vtkObjectBase;
class vtkLargeInteger;
class vtkSmartPointerBase;
// workaround clang bug, needs export on forward declaration
#ifdef __clang__
class VTKCOMMONCORE_EXPORT vtkStdString;
#else
class vtkStdString;
#endif
class VTKCOMMONCORE_EXPORT vtkOStreamWrapper
{
......
......@@ -23,12 +23,6 @@
# pragma warning (disable: 4661)
#endif
#ifdef __APPLE__
#include "vtkCommonCoreModule.h"
// Make visibility known prior to any symbols referencing this.
class VTKCOMMONCORE_EXPORT vtkStdString;
#endif
#include "vtkStdString.h"
#include "vtkArrayIteratorTemplate.txx"
......
......@@ -56,7 +56,12 @@ class vtkStdString;
class vtkUnicodeString;
class vtkObjectBase;
class vtkAbstractArray;
// workaround clang bug, needs export on forward declaration
#ifdef __clang__
class VTKCOMMONCORE_EXPORT vtkVariant;
#else
class vtkVariant;
#endif
struct vtkVariantLessThan;
//BTX
......
......@@ -24,12 +24,6 @@
# pragma warning (disable: 4661)
#endif
#ifdef __APPLE__
#include "vtkCommonCoreModule.h"
// Make visibility known prior to any symbols referencing this.
class VTKCOMMONCORE_EXPORT vtkVariant;
#endif
#include "vtkVariantArray.h"
#include "vtkDataArray.h"
......
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