tests: Fixed C++/CLI compilation warning
git-svn-id: http://pugixml.googlecode.com/svn/trunk@807 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
c21c682c4e
commit
5f318e056e
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@ static bool run_test(test_runner* test)
|
|||
#ifdef _MSC_VER
|
||||
# pragma warning(push)
|
||||
# pragma warning(disable: 4611) // interaction between _setjmp and C++ object destruction is non-portable
|
||||
# pragma warning(disable: 4793) // function compiled as native: presence of '_setjmp' makes a function unmanaged
|
||||
#endif
|
||||
|
||||
volatile int result = setjmp(test_runner::_failure_buffer);
|
||||
|
|
Loading…
Add table
Reference in a new issue