avoid MSVC warnings about unreachable code
This commit is contained in:
parent
4c1d5677aa
commit
2269b8fb82
1 changed files with 9 additions and 0 deletions
|
@ -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. */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue