forked from qt-creator/qt-creator
Fix typo (|| operator instead of |)
Change-Id: I2a5707f04175ef96d678e57b7c61fb8d6cec4d75 Reviewed-by: Sergey Shambir <sergey.shambir.auto@gmail.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
@@ -462,7 +462,7 @@ ToolChain::CompilerFlags GccToolChain::compilerFlags(const QStringList &cxxflags
|
||||
} else if (std == "gnu++0x" || std == "gnu++11" || std== "gnu++1y") {
|
||||
flags |= CompilerFlags(StandardCxx11 | GnuExtensions);
|
||||
} else if (std == "c89" || std == "c90"
|
||||
|| std == "iso9899:1990" | std == "iso9899:199409") {
|
||||
|| std == "iso9899:1990" || std == "iso9899:199409") {
|
||||
flags &= ~CompilerFlags(StandardC99 | StandardC11);
|
||||
} else if (std == "gnu89" || std == "gnu90") {
|
||||
flags &= ~CompilerFlags(StandardC99 | StandardC11);
|
||||
|
||||
Reference in New Issue
Block a user