MeVisLabToolboxReference
FMEwork/ITK/Sources/ITK/MLITK/ITKSupport/mlInitSystemITKSupport.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00002 //----------------------------------------------------------------------------------
00005 
00010 //----------------------------------------------------------------------------------
00011 #ifndef __mlInitSystemITKSupport_H
00012 #define __mlInitSystemITKSupport_H
00013 
00014 #ifdef WIN32
00015 // Suppresses warning C4275: class 'SoCoordinate4' ist keine DLL-Schnittstelle ..."
00016 #pragma warning (disable : 4018)  // Disable only for ITK
00017 #pragma warning (disable : 4516)  // Disable only for ITK
00018 #pragma warning (disable : 4701)  // Disable only for ITK
00019 
00020 #pragma warning (disable : 4275)
00021 #pragma warning (disable : 4505)  // warning C4505: 'debugFunc' : Nichtreferenzierte lokale Funktion wurde entfernt
00022 
00023 #pragma warning ( disable : 4097 )
00024 #pragma warning ( disable : 4284 )
00025 #pragma warning ( disable : 4310 )
00026 #pragma warning ( disable : 4511 )
00027 #pragma warning ( disable : 4512 )
00028 #pragma warning ( disable : 4127 )
00029 #pragma warning ( disable : 4663 )
00030 
00031 #endif // WIN32
00032 
00033 
00034 
00036 // There we use this macro to solve this platform dependency.
00037 #ifdef WIN32
00038 #define ITKML_TYPENAME
00039 #else
00040 #define ITKML_TYPENAME typename
00041 #endif
00042 
00043 
00044 //--------------- DLL exporting ----------------------
00045 #ifdef MLITK_SUPPORT_EXPORTS
00046 
00047 // To make functions, classes and other symbols available
00048 // on this dll interfaces, they must be exported explicitly
00049 // on win32 systems. We add simply MLITK_EXPORT before
00050 // them.
00051 #define MLITK_SUPPORT_EXPORT ML_LIBRARY_EXPORT_ATTRIBUTE
00052 
00053 #else  // else MLITK_SUPPORT_EXPORT
00054 
00055 
00056 #define MLITK_SUPPORT_EXPORT ML_LIBRARY_IMPORT_ATTRIBUTE
00057 
00058 #endif // else MLITK_SUPPORT_EXPORT
00059 
00060 
00061 #endif  //end of __mlInitSystemExample_H
00062