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

Commit 94361dc9 authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "Try to bump the C default to C11."

parents d2ee3a6a ab5e4c63
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4042,7 +4042,7 @@ func TestIncludeDirectoryOrdering(t *testing.T) {
	cppOnly := []string{"-fPIC", "${config.CommonGlobalCppflags}", "${config.DeviceGlobalCppflags}", "${config.ArmCppflags}"}

	cflags := []string{"-Wall", "-Werror", "-std=candcpp"}
	cstd := []string{"-std=gnu99", "-std=conly"}
	cstd := []string{"-std=gnu11", "-std=conly"}
	cppstd := []string{"-std=gnu++17", "-std=cpp", "-fno-rtti"}

	lastIncludes := []string{
+1 −1
Original line number Diff line number Diff line
@@ -279,7 +279,7 @@ var (
		"-w",
	}

	CStdVersion               = "gnu99"
	CStdVersion               = "gnu11"
	CppStdVersion             = "gnu++17"
	ExperimentalCStdVersion   = "gnu11"
	ExperimentalCppStdVersion = "gnu++2a"