mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 09:48:37 +12:00
Add -Werror=missing-noreturn (GCC, clang)
May be useful to diagnose functions which fail assertions unconditionally.
This commit is contained in:
parent
94c62b1eec
commit
95725bf7fc
20 changed files with 55 additions and 36 deletions
|
@ -3896,7 +3896,8 @@ bool ppu_interpreter::EQV(ppu_thread& ppu, ppu_opcode_t op)
|
|||
|
||||
bool ppu_interpreter::ECIWX(ppu_thread&, ppu_opcode_t)
|
||||
{
|
||||
fmt::throw_exception("ECIWX");
|
||||
ppu_log.fatal("ECIWX");
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ppu_interpreter::LHZUX(ppu_thread& ppu, ppu_opcode_t op)
|
||||
|
@ -4010,7 +4011,8 @@ bool ppu_interpreter::ORC(ppu_thread& ppu, ppu_opcode_t op)
|
|||
|
||||
bool ppu_interpreter::ECOWX(ppu_thread&, ppu_opcode_t)
|
||||
{
|
||||
fmt::throw_exception("ECOWX");
|
||||
ppu_log.fatal("ECOWX");
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ppu_interpreter::STHUX(ppu_thread& ppu, ppu_opcode_t op)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue