rpcs3/rpcs3/util/cereal.cpp
Nekotekina 04dedb17eb 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).
2020-03-12 16:03:08 +03:00

10 lines
165 B
C++

#include <string>
#include "Utilities/Thread.h"
namespace cereal
{
[[noreturn]] void throw_exception(const std::string& err)
{
report_fatal_error(err);
}
}