Try to ignore some annoying warning (seems CIB)

This commit is contained in:
Nekotekina 2020-02-17 20:47:31 +03:00
parent aa14432846
commit 244e74ebe2
3 changed files with 19 additions and 0 deletions

View File

@ -37,6 +37,11 @@
#include <array>
#include <vector>
#ifndef _MSC_VER
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Winit-list-lifetime"
#endif
enum class i2 : char
{
};
@ -2841,4 +2846,8 @@ struct fmt_unveil<llvm::TypeSize, void>
}
};
#ifndef _MSC_VER
#pragma GCC diagnostic pop
#endif
#endif

View File

@ -1319,6 +1319,11 @@ extern void ppu_initialize()
spu_cache::initialize();
}
#ifndef _MSC_VER
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Winit-list-lifetime"
#endif
extern void ppu_initialize(const ppu_module& info)
{
if (g_cfg.core.ppu_decoder != ppu_decoder_type::llvm)

View File

@ -3218,6 +3218,11 @@ void spu_recompiler_base::dump(const spu_program& result, std::string& out)
#pragma GCC diagnostic pop
#endif
#ifndef _MSC_VER
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Winit-list-lifetime"
#endif
class spu_llvm_recompiler : public spu_recompiler_base, public cpu_translator
{
// JIT Instance