all flags
This commit is contained in:
parent
0a6a6b6cd2
commit
748b005736
|
@ -871,7 +871,12 @@ void Compiler::setRebuild(bool isRebuild)
|
|||
QStringList Compiler::getReflextiveArguments()
|
||||
{
|
||||
QStringList result{
|
||||
"-Wall", "-Werror", "-Wextra", "-pedantic", "-Wconversion",
|
||||
"-Wall", "-Werror", "-Wextra",
|
||||
"-pedantic", "-Wimplicit-fallthrough", "-Wsequence-point",
|
||||
"-Wswitch-default", "-Wswitch-unreachable", "-Wswitch-enum",
|
||||
"-Wstringop-truncation", "-Wbool-compare", "-Wtautological-compare",
|
||||
"-Wfloat-equal", "-Wshadow=global", "-Wpointer-arith", "-Wpointer-compare",
|
||||
"-Wcast-align", "-Wcast-qual", "-Wconversion", "-Wwrite-strings", "-Wdangling-else", "-Wlogical-op",
|
||||
"-finput-charset=utf-8",
|
||||
"-fexec-charset=utf-8"
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue