Add and fix -Wredundant-decls (GCC)

This commit is contained in:
Nekotekina 2021-03-23 22:32:50 +03:00
parent 5dc3467337
commit b3fb6d7d18
34 changed files with 105 additions and 115 deletions

View file

@ -283,6 +283,7 @@ asmjit::Runtime& asmjit::get_global_runtime()
#pragma GCC diagnostic ignored "-Wold-style-cast"
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#pragma GCC diagnostic ignored "-Wredundant-decls"
#endif
#include "llvm/Support/TargetSelect.h"
#include "llvm/Support/FormattedStream.h"