mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 04:07:10 +01:00 
			
		
		
		
	Reverted removal of #ifdef for chrono converters, and fixed in OC project a different way
- seems the #ifdef was necessary after all, because of the difference in the way the cpp files are included in the full project vs the single include - in the OC project I moved the #include of catch_tostring.cpp first. That solves the project for now, but is a brittle solution
This commit is contained in:
		| @@ -1,6 +1,7 @@ | ||||
| // This file #includes all the .cpp files into a single .mm | ||||
| // - so they get compiled as ObjectiveC++ | ||||
|  | ||||
| #include "../../../include/internal/catch_tostring.cpp" | ||||
| #include "../../../include/internal/catch_approx.cpp" | ||||
| #include "../../../include/internal/catch_assertionhandler.cpp" | ||||
| #include "../../../include/internal/catch_assertionresult.cpp" | ||||
| @@ -52,7 +53,6 @@ | ||||
| #include "../../../include/internal/catch_test_spec.cpp" | ||||
| #include "../../../include/internal/catch_test_spec_parser.cpp" | ||||
| #include "../../../include/internal/catch_timer.cpp" | ||||
| #include "../../../include/internal/catch_tostring.cpp" | ||||
| #include "../../../include/internal/catch_totals.cpp" | ||||
| #include "../../../include/internal/catch_uncaught_exceptions.cpp" | ||||
| #include "../../../include/internal/catch_version.cpp" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash