global.hpp

Go to the documentation of this file.
00001 /* $Id: global.hpp 54262 2012-05-20 16:30:10Z anonymissimus $ */
00002 /*
00003    Copyright (C) 2003 - 2012 by David White <dave@whitevine.net>
00004    Part of the Battle for Wesnoth Project http://www.wesnoth.org/
00005 
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License as published by
00008    the Free Software Foundation; either version 2 of the License, or
00009    (at your option) any later version.
00010    This program is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY.
00012 
00013    See the COPYING file for more details.
00014 */
00015 
00016 #ifndef GLOBAL_HPP_INCLUDED
00017 #define GLOBAL_HPP_INCLUDED
00018 
00019 #ifdef _MSC_VER
00020 
00021 #undef snprintf
00022 #define snprintf _snprintf
00023 
00024 // Disable warning about source encoding not in current code page.
00025 #pragma warning(disable: 4819)
00026 
00027 // Disable warning about deprecated functions.
00028 #pragma warning(disable: 4996)
00029 
00030 //disable some MSVC warnings which are useless according to mordante
00031 #pragma warning(disable: 4244)
00032 #pragma warning(disable: 4099)
00033 #pragma warning(disable: 4345)
00034 #pragma warning(disable: 4250)
00035 #pragma warning(disable: 4355)
00036 #pragma warning(disable: 4800)
00037 #pragma warning(disable: 4351)
00038 #pragma warning(disable: 4099)
00039 
00040 #endif //_MSC_VER
00041 
00042 #endif //GLOBAL_HPP_INCLUDED
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:02:53 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs