Disable exception handling.

Use -fno-exceptions in cmake.
On MSVC, enable _HAS_EXCEPTION=0.
Cleanup throw/catch from the source.
Create yaml.cpp enclave because it needs exception to work.
Disable thread_local optimizations in logs.cpp (TODO).
Implement cpu_counter for cpu_threads (moved globals).
This commit is contained in:
Nekotekina 2020-03-09 19:18:39 +03:00
parent 47bbfdd2aa
commit 04dedb17eb
39 changed files with 421 additions and 437 deletions

2
3rdparty/cereal vendored

@ -1 +1 @@
Subproject commit 42a45b6e15fcbd1a3d65b033f5d4d0b2ef6c023d
Subproject commit 60c69df968d1c72c998cd5f23ba34e2e3718a84b

2
3rdparty/yaml-cpp vendored

@ -1 +1 @@
Subproject commit eca9cfd64899525d0a61abb0553849676a0fe511
Subproject commit 6a211f0bc71920beef749e6c35d7d1bcc2447715

View file

@ -37,6 +37,11 @@
<Import Project="..\rpcs3_release.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<ItemDefinitionGroup>
<ClCompile>
<ExceptionHandling>Sync</ExceptionHandling>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="yaml-cpp\src\binary.cpp">
</ClCompile>