commit 8ce96cc5d590a1c094fb316968f2db8464f3be82 Author: Joakim NohlgÄrd Date: Fri Mar 30 13:47:28 2018 +0200 OCIOYaml: Remove forward declarations to use system yaml-cpp headers diff --git a/src/core/OCIOYaml.cpp b/src/core/OCIOYaml.cpp index 68fcef6..8047d7e 100644 --- a/src/core/OCIOYaml.cpp +++ b/src/core/OCIOYaml.cpp @@ -30,43 +30,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include -#ifndef WIN32 - -// fwd declare yaml-cpp visibility -#pragma GCC visibility push(hidden) -namespace YAML { - class Exception; - class BadDereference; - class RepresentationException; - class EmitterException; - class ParserException; - class InvalidScalar; - class KeyNotFound; - template class TypedKeyNotFound; - template <> class TypedKeyNotFound; - template <> class TypedKeyNotFound; - template <> class TypedKeyNotFound; - template <> class TypedKeyNotFound; - template <> class TypedKeyNotFound; - template <> class TypedKeyNotFound; - template <> class TypedKeyNotFound; - template <> class TypedKeyNotFound; - template <> class TypedKeyNotFound; - template <> class TypedKeyNotFound; - template <> class TypedKeyNotFound; - template <> class TypedKeyNotFound; - template <> class TypedKeyNotFound; - template <> class TypedKeyNotFound; - template <> class TypedKeyNotFound; - template <> class TypedKeyNotFound; - template <> class TypedKeyNotFound; - template <> class TypedKeyNotFound; - template <> class TypedKeyNotFound; -} -#pragma GCC visibility pop - -#endif - #ifdef WIN32 #pragma warning( push ) #pragma warning( disable: 4146 )