mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Sweep out some extra warnings
Swept: `-Wpadded` in some places (where it caused extra size, instead of just saying "hey, we padded struct at the end to align, just as standard says") `-Wweak-vtables` everywhere (Clang) `-Wexit-time-destructors` everywhere (Clang) `-Wmissing-noreturn` everywhere (Clang) The last three are enabled for Clang compilation going forward. Also enabled `-Wunreachable-code` for Clang and GCC
This commit is contained in:
		| @@ -1003,6 +1003,6 @@ with expansion: | ||||
|   "{?}" == "1" | ||||
|  | ||||
| =============================================================================== | ||||
| test cases: 177 | 126 passed | 47 failed |  4 failed as expected | ||||
| test cases: 176 | 125 passed | 47 failed |  4 failed as expected | ||||
| assertions: 878 | 761 passed | 96 failed | 21 failed as expected | ||||
|  | ||||
|   | ||||
| @@ -7434,6 +7434,6 @@ MiscTests.cpp:<line number>: | ||||
| PASSED: | ||||
|  | ||||
| =============================================================================== | ||||
| test cases: 177 | 124 passed | 49 failed |  4 failed as expected | ||||
| test cases: 176 | 123 passed | 49 failed |  4 failed as expected | ||||
| assertions: 877 | 757 passed | 99 failed | 21 failed as expected | ||||
|  | ||||
|   | ||||
| @@ -6946,9 +6946,6 @@ Message from section two | ||||
|       </Section> | ||||
|       <OverallResult success="true"/> | ||||
|     </TestCase> | ||||
|     <TestCase name="assertions with commas are allowed" filename="projects/<exe-name>/TrickyTests.cpp" > | ||||
|       <OverallResult success="true"/> | ||||
|     </TestCase> | ||||
|     <TestCase name="atomic if" tags="[0][failing]" filename="projects/<exe-name>/MiscTests.cpp" > | ||||
|       <Expression success="true" type="REQUIRE" filename="projects/<exe-name>/MiscTests.cpp" > | ||||
|         <Original> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský