mirror of
https://github.com/RPCS3/rpcs3
synced 2024-09-06 00:17:03 +00:00
Add some warnings (GCC, clang)
This commit is contained in:
parent
2f333424a6
commit
e0790f758e
|
@ -34,6 +34,8 @@ else()
|
|||
add_compile_options(-Werror=overloaded-virtual)
|
||||
add_compile_options(-Wunused-parameter)
|
||||
add_compile_options(-Wignored-qualifiers)
|
||||
add_compile_options(-Wredundant-move)
|
||||
add_compile_options(-Wcast-qual)
|
||||
#add_compile_options(-Wdeprecated-copy)
|
||||
add_compile_options(-Wtautological-compare)
|
||||
#add_compile_options(-Wshadow)
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#pragma GCC diagnostic ignored "-Wextra"
|
||||
#pragma GCC diagnostic ignored "-Wold-style-cast"
|
||||
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
||||
#pragma GCC diagnostic ignored "-Wcast-qual"
|
||||
#ifndef __clang__
|
||||
#pragma GCC diagnostic ignored "-Wduplicated-branches"
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue