From f0438883c91b739192284931763ffd85d3488195 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 24 Oct 2018 18:21:45 +0300 Subject: Fix GCC 8 -fimplicit-fallthrough warnings --- build2/cc/compile-rule.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build2/cc/compile-rule.cxx b/build2/cc/compile-rule.cxx index 51a30ae..4431abd 100644 --- a/build2/cc/compile-rule.cxx +++ b/build2/cc/compile-rule.cxx @@ -169,6 +169,7 @@ namespace build2 case lang::cxx: return "c++"; } } + // Fall through. case compiler_id::clang: case compiler_id::clang_apple: { @@ -183,6 +184,7 @@ namespace build2 case lang::cxx: return m ? "c++-module" : "c++"; } } + // Fall through. case compiler_id::msvc: { switch (x_lang) @@ -191,6 +193,7 @@ namespace build2 case lang::cxx: return "/TP"; } } + // Fall through. case compiler_id::icc: { switch (x_lang) -- cgit v1.1