MeVisLab Toolbox Reference
mlInitSystemVTKSupport.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2007, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13#pragma once
14
15#ifdef WIN32
16// Suppresses warning C4275: class 'SoCoordinate4' ist keine DLL-Schnittstelle ..."
17#pragma warning (disable : 4018) // Disable only for VTK
18#pragma warning (disable : 4516) // Disable only for VTK
19#pragma warning (disable : 4701) // Disable only for VTK
20
21#pragma warning (disable : 4275)
22#pragma warning (disable : 4505) // warning C4505: 'debugFunc' : Nichtreferenzierte lokale Funktion wurde entfernt
23
24#pragma warning ( disable : 4097 )
25#pragma warning ( disable : 4310 )
26#pragma warning ( disable : 4511 )
27#pragma warning ( disable : 4512 )
28#pragma warning ( disable : 4127 )
29
30#endif // WIN32
31
32
33//--------------- DLL exporting ----------------------
34#ifdef MLVTK_SUPPORT_EXPORTS
35
36 // To make functions, classes and other symbols available
37 // on this dll interfaces, they must be exported explicitly
38 // on win32 systems. We add simply MLVTK_EXPORT before
39 // them.
40 #define MLVTK_SUPPORT_EXPORT ML_LIBRARY_EXPORT_ATTRIBUTE
41
42#else // else MLVTK_SUPPORT_EXPORT
45 #define MLVTK_SUPPORT_EXPORT ML_LIBRARY_IMPORT_ATTRIBUTE
46
47#endif // else MLVTK_SUPPORT_EXPORT