Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c29e55d4 authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by Gerrit Code Review
Browse files

Merge "DO NOT MERGE, Make default -Wimplicit-fallthrough as error."

parents d6bb90dc 53390f25
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -97,9 +97,8 @@ func init() {
	pctx.StaticVariable("ClangExtraCflags", strings.Join([]string{
		"-D__compiler_offsetof=__builtin_offsetof",

		// Make implicit fallthrough an error in the future.
		// -Wimplicit fallthrough is not enabled by -Wall.
		"-Wimplicit-fallthrough",
		"-Wno-error=implicit-fallthrough",

		// Help catch common 32/64-bit errors.
		"-Werror=int-conversion",