mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-22 00:33:44 +08:00
--std=c++17 (#2330)
* switch to c++17 * more 17 * 1z * use std::clamp * Fix types in clamp * bump submodules * bump laika Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> old-commit-hash: 339d1967cb1e8ca73aeb1f0066a23b0933706ae5
This commit is contained in:
+2
-1
@@ -138,6 +138,7 @@ env = Environment(
|
||||
"-Werror",
|
||||
"-Wno-unknown-warning-option",
|
||||
"-Wno-deprecated-register",
|
||||
"-Wno-register",
|
||||
"-Wno-inconsistent-missing-override",
|
||||
"-Wno-c99-designator",
|
||||
"-Wno-reorder-init-list",
|
||||
@@ -177,7 +178,7 @@ env = Environment(
|
||||
RPATH=rpath,
|
||||
|
||||
CFLAGS=["-std=gnu11"] + cflags,
|
||||
CXXFLAGS=["-std=c++14"] + cxxflags,
|
||||
CXXFLAGS=["-std=c++1z"] + cxxflags,
|
||||
LIBPATH=libpath + [
|
||||
"#cereal",
|
||||
"#selfdrive/common",
|
||||
|
||||
Reference in New Issue
Block a user