mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Merge pull request #444 from bobsummerwill/fix_boost
Fix Windows warning for boost in solidity tests
This commit is contained in:
		
						commit
						e369e18584
					
				| @ -24,8 +24,16 @@ | |||||||
| #define BOOST_TEST_MODULE EthereumTests | #define BOOST_TEST_MODULE EthereumTests | ||||||
| #pragma GCC diagnostic push | #pragma GCC diagnostic push | ||||||
| #pragma GCC diagnostic ignored "-Wunused-parameter" | #pragma GCC diagnostic ignored "-Wunused-parameter" | ||||||
| //#define BOOST_DISABLE_WIN32 //disables SEH warning
 | 
 | ||||||
|  | #if defined(_MSC_VER) | ||||||
|  | #pragma warning(push) | ||||||
|  | #pragma warning(disable:4535) // calling _set_se_translator requires /EHa
 | ||||||
|  | #endif | ||||||
| #include <boost/test/included/unit_test.hpp> | #include <boost/test/included/unit_test.hpp> | ||||||
|  | #if defined(_MSC_VER) | ||||||
|  | #pragma warning(pop) | ||||||
|  | #endif | ||||||
|  | 
 | ||||||
| #pragma GCC diagnostic pop | #pragma GCC diagnostic pop | ||||||
| 
 | 
 | ||||||
| #include <test/TestHelper.h> | #include <test/TestHelper.h> | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user