avoid MSVC warnings about unreachable code

This commit is contained in:
Anonymissimus 2011-11-28 15:52:10 +00:00
parent 4c1d5677aa
commit 2269b8fb82

View file

@ -29,9 +29,18 @@
namespace test_throw {
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable:4702)
#endif
#define LEXICAL_CAST_DEBUG
#include "lexical_cast.hpp"
#ifdef _MSC_VER
#pragma warning(pop)
#endif
typedef boost::mpl::vector<
/* note Wesnoth's coding style doesn't allow w_char so ignore them. */