MeVisLab Toolbox Reference
mlInitSystemITKSupport.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 ITK
18
#pragma warning (disable : 4516)
// Disable only for ITK
19
#pragma warning (disable : 4701)
// Disable only for ITK
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
#if _MSC_VER <= 1200
26
// Only VC6
27
#pragma warning ( disable : 4284 )
28
#endif
29
#pragma warning ( disable : 4310 )
30
#pragma warning ( disable : 4511 )
31
#pragma warning ( disable : 4512 )
32
#pragma warning ( disable : 4127 )
33
#if _MSC_VER <= 1200
34
// Only VC6
35
#pragma warning ( disable : 4663 )
36
#endif
37
38
#endif
// WIN32
39
40
41
43
// There we use this macro to solve this platform dependency.
44
#if defined(WIN32) && _MSC_VER <= 1910
45
#define ITKML_TYPENAME
46
#else
47
#define ITKML_TYPENAME typename
48
#endif
49
50
51
//--------------- DLL exporting ----------------------
52
#ifdef MLITK_SUPPORT_EXPORTS
53
54
// To make functions, classes and other symbols available
55
// on this dll interfaces, they must be exported explicitly
56
// on win32 systems. We add simply MLITK_EXPORT before
57
// them.
58
#define MLITK_SUPPORT_EXPORT ML_LIBRARY_EXPORT_ATTRIBUTE
59
60
#else
// else MLITK_SUPPORT_EXPORT
63
#define MLITK_SUPPORT_EXPORT ML_LIBRARY_IMPORT_ATTRIBUTE
64
65
#endif
// else MLITK_SUPPORT_EXPORT
MeVisLab
ITK
Sources
ML
MLITKSupport
mlInitSystemITKSupport.h
Generated by
1.9.1