mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Add comment explaining why we leak -Wparentheses under g++
This commit is contained in:
		| @@ -16,6 +16,9 @@ | ||||
| #       pragma clang diagnostic ignored "-Wcovered-switch-default" | ||||
| #    endif | ||||
| #elif defined __GNUC__ | ||||
|      // GCC likes to warn on REQUIREs, and we cannot suppress them | ||||
|      // locally because g++'s support for _Pragma is lacking in older, | ||||
|      // still supported, versions | ||||
| #    pragma GCC diagnostic ignored "-Wparentheses" | ||||
| #    pragma GCC diagnostic push | ||||
| #    pragma GCC diagnostic ignored "-Wunused-variable" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský