Fire Core  8.0.0.alpha
GIS framework per tutti gli usi
 Tutto Classi Namespace Funzioni Variabili Ridefinizioni di tipo (typedef) Tipi enumerati (enum) Valori del tipo enumerato Friend
export.hpp
1 /**********************************************************************
2  *
3  * FIREGEAR -
4  *
5  * Copyright (C) 2015 GeoSystems
6  *
7  * This is free software; you can redistribute and/or modify it under
8  * the terms of the GNU Lesser General Public Licence as published
9  * by the Free Software Foundation.
10  * See the COPYING file for more information.
11  *
12  **********************************************************************/
13 #ifndef FIRE_ENGINE_EXPORT_H
14 #define FIRE_ENGINE_EXPORT_H
15 
16 // Disabilito i warning in compilazione
17 // 4251 --> warning sulle interfacce dei membri privati di oggetti esposti dalla DLL
18 // 4100 --> unreferenced formal parameter
19 // 4702 --> unreachable-code
20 // 4275 --> non – DLL-interface classkey 'identifier' used as base for DLL-interface classkey 'identifier'
21 // 4101 --> The local variable is never used (added only for exception variable into catch)
22 // 4512 --> assignment operator could not be generated ('boost::property_tree::json_parser::context<Ptree>::a_unicode')
23 #ifdef _MSC_VER
24  #pragma warning(push)
25  #pragma warning(disable: 4100)
26  #pragma warning(disable: 4702)
27  #pragma warning(disable: 4251)
28  #pragma warning(disable: 4275)
29  #pragma warning(disable: 4101)
30  #pragma warning(disable: 4512)
31 #endif
32 
33 #if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__)
34 
35 # if defined(FIRE_ENGINE_DLL_EXPORT)
36 # define FIRE_ENGINE_DLL __declspec(dllexport)
37 # elif defined(FIRE_ENGINE_DLL_IMPORT)
38 # define FIRE_ENGINE_DLL __declspec(dllimport)
39 # else
40 # define FIRE_ENGINE_DLL
41 # endif
42 
43 #else
44 # define FIRE_ENGINE_DLL
45 #endif
46 
47 #endif //FIRE_ENGINE_EXPORT_H