From: rnv Date: Tue, 25 Feb 2014 14:30:21 +0000 (+0400) Subject: Fix compilation errors on Windows platform. X-Git-Tag: V7_4_0a1~32^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e6f47e0fe7af35edfde496d8b83375ce29036334;p=modules%2Fmed.git Fix compilation errors on Windows platform. --- diff --git a/src/INTERP_KERNELTest/CppUnitTest.hxx b/src/INTERP_KERNELTest/CppUnitTest.hxx index 465f4a794..99c4d0ec1 100644 --- a/src/INTERP_KERNELTest/CppUnitTest.hxx +++ b/src/INTERP_KERNELTest/CppUnitTest.hxx @@ -22,10 +22,12 @@ #include +#include "InterpKernelTestExport.hxx" + /** * \brief Class tested by TestBogusClass : not very useful */ -class BogusClass { +class INTERPKERNELTEST_EXPORT BogusClass { friend class TestBogusClass; public: @@ -41,7 +43,7 @@ private: * \brief Class used to figure out CppUnit : not very useful * */ -class TestBogusClass : public CppUnit::TestFixture +class INTERPKERNELTEST_EXPORT TestBogusClass : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE( TestBogusClass ); diff --git a/src/INTERP_KERNELTest/ThreeDSurfProjectionTest.cxx b/src/INTERP_KERNELTest/ThreeDSurfProjectionTest.cxx index 5d66b9d19..41d340cee 100644 --- a/src/INTERP_KERNELTest/ThreeDSurfProjectionTest.cxx +++ b/src/INTERP_KERNELTest/ThreeDSurfProjectionTest.cxx @@ -24,6 +24,8 @@ class MyMeshType { public: static const int MY_SPACEDIM=3; + static const int MY_MESHDIM=3; + static const INTERP_KERNEL::NumberingPolicy My_numPol=INTERP_KERNEL::ALL_C_MODE; typedef int MyConnType; }; diff --git a/src/INTERP_KERNELTest/ThreeDSurfProjectionTest.hxx b/src/INTERP_KERNELTest/ThreeDSurfProjectionTest.hxx index f344cd92d..a47e3e138 100644 --- a/src/INTERP_KERNELTest/ThreeDSurfProjectionTest.hxx +++ b/src/INTERP_KERNELTest/ThreeDSurfProjectionTest.hxx @@ -22,12 +22,14 @@ #include +#include "InterpKernelTestExport.hxx" + namespace INTERP_TEST { /** * \brief Class dedicated of the test of the preprocessing of 3D surf cells before performing invoking 2D algorithms. */ - class ThreeDSurfProjectionTest : public CppUnit::TestFixture + class INTERPKERNELTEST_EXPORT ThreeDSurfProjectionTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE( ThreeDSurfProjectionTest ); CPPUNIT_TEST ( test1 );