ivl 679
|
00001 /* This file is part of the ivl C++ library <http://image.ntua.gr/ivl>. 00002 A C++ template library extending syntax towards mathematical notation. 00003 00004 Copyright (C) 2012 Yannis Avrithis <iavr@image.ntua.gr> 00005 Copyright (C) 2012 Kimon Kontosis <kimonas@image.ntua.gr> 00006 00007 ivl is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU Lesser General Public License 00009 version 3 as published by the Free Software Foundation. 00010 00011 Alternatively, you can redistribute it and/or modify it under the terms 00012 of the GNU General Public License version 2 as published by the Free 00013 Software Foundation. 00014 00015 ivl is distributed in the hope that it will be useful, 00016 but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00018 See the GNU General Public License for more details. 00019 00020 You should have received a copy of the GNU General Public License 00021 and a copy of the GNU Lesser General Public License along 00022 with ivl. If not, see <http://www.gnu.org/licenses/>. */ 00023 00024 #ifdef _MSC_VER 00025 #pragma warning(disable: 4099) 00026 #pragma warning(disable: 4221) 00027 #pragma warning(disable: 4006) 00028 #pragma warning(disable: 4288) 00029 #pragma warning(disable: 4522) 00030 00031 // for specific exceptions. do think about this and decide 00032 // whether specific exceptions are going to be used 00033 // on function declarations... 00034 #pragma warning( disable : 4290 ) 00035 00036 //conversion ptrdiff_t to int 00037 #pragma warning(disable: 4244 ) 00038 00039 //conversion size_t to unsigned int (note : i maybe want to check this again) 00040 #pragma warning(disable: 4267 ) 00041 00042 //decorated name length exceeded, name was truncated 00043 #pragma warning(disable: 4503 ) 00044 00045 //TODO: put me somewhere else! 00046 #define __attribute__(X) 00047 00048 //TODO: put me somewhere else! 00049 #ifdef _ivl_STATIC_ 00050 #define _ivl_export_ 00051 #else 00052 #ifdef _ivl_EXPORTS_ 00053 #define _ivl_export_ __declspec(dllexport) 00054 #else 00055 #define _ivl_export_ __declspec(dllimport) 00056 #endif 00057 #endif 00058 00059 //TODO: put me somewhere else! 00060 #ifdef _ivlcv_STATIC_ 00061 #define _ivlcv_export_ 00062 #else 00063 #ifdef _ivlcv_EXPORTS_ 00064 #define _ivlcv_export_ __declspec(dllexport) 00065 #else 00066 #define _ivlcv_export_ __declspec(dllimport) 00067 #endif 00068 #endif 00069 00070 //TODO: put me somewhere else! 00071 #ifdef _ivllina_STATIC_ 00072 #define _ivllina_export_ 00073 #else 00074 #ifdef _ivllina_EXPORTS_ 00075 #define _ivllina_export_ __declspec(dllexport) 00076 #else 00077 #define _ivllina_export_ __declspec(dllimport) 00078 #endif 00079 #endif 00080 00081 #endif /* _MSC_VER */ 00082 00083 //TODO: me too! 00084 #ifndef _MSC_VER 00085 #define _ivl_export_ 00086 #define _ivlcv_export_ 00087 #define _ivllina_export_ 00088 #endif //_MSC_VER 00089