aboutsummaryrefslogtreecommitdiff
path: root/backend/ninja/Ninja.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/ninja/Ninja.cpp')
-rw-r--r--backend/ninja/Ninja.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp
index 871234c..b21ea60 100644
--- a/backend/ninja/Ninja.cpp
+++ b/backend/ninja/Ninja.cpp
@@ -154,6 +154,7 @@ namespace backend
case CVersion::C99: return "-std=c99 -pedantic";
case CVersion::C11: return "-std=c11 -pedantic";
}
+ break;
}
case Compiler::MSVC:
{
@@ -177,6 +178,7 @@ namespace backend
case CPPVersion::CPP14: return "-std=c++14 -pedantic";
case CPPVersion::CPP17: return "-std=c++17 -pedantic";
}
+ break;
}
case Compiler::MSVC:
{
@@ -187,6 +189,7 @@ namespace backend
case CPPVersion::CPP14: return "/std=c++14";
case CPPVersion::CPP17: return "/std=c++17";
}
+ break;
}
}
assert(false);