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

This commit is contained in:
Elliott Hughes
2022-05-12 16:23:47 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -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{

View File

@@ -279,7 +279,7 @@ var (
"-w",
}
CStdVersion = "gnu99"
CStdVersion = "gnu11"
CppStdVersion = "gnu++17"
ExperimentalCStdVersion = "gnu11"
ExperimentalCppStdVersion = "gnu++2a"