more warnings
This commit is contained in:
		
							parent
							
								
									e18a9f2562
								
							
						
					
					
						commit
						c69e76c165
					
				@ -39,6 +39,14 @@
 | 
			
		||||
 | 
			
		||||
#include "gtest/gtest.h"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
// Silence C4100 (unreferenced formal parameter) for MSVC
 | 
			
		||||
#ifdef _MSC_VER
 | 
			
		||||
# pragma warning(push)
 | 
			
		||||
# pragma warning(disable:4100)
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
using testing::_;
 | 
			
		||||
using testing::AnyNumber;
 | 
			
		||||
using testing::Ge;
 | 
			
		||||
@ -298,3 +306,7 @@ int main(int argc, char **argv) {
 | 
			
		||||
  TestCatchesLeakedMocksInAdHocTests();
 | 
			
		||||
  return RUN_ALL_TESTS();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#ifdef _MSC_VER
 | 
			
		||||
# pragma warning(pop)
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user