Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tools: Add g++ 11.4 to Werr whitelist #25637

Merged
merged 2 commits into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Tools/ardupilotwaf/boards.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,7 @@ def configure_env(self, cfg, env):
# whitelist of compilers which we should build with -Werror
gcc_whitelist = frozenset([
('11','3','0'),
('11','4','0'),
('12','1','0'),
])

Expand Down Expand Up @@ -1149,6 +1150,7 @@ def configure_env(self, cfg, env):
('9','3','1'),
('10','2','1'),
('11','3','0'),
('11','4','0'),
])

if cfg.env.HAL_CANFD_SUPPORTED:
Expand Down
2 changes: 1 addition & 1 deletion libraries/AP_Math/benchmarks/benchmark_geodesic_grid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ static bool section_triangle(unsigned int section_index,
static void BM_GeodesicGridSections(benchmark::State& state)
{
Vector3f v, a, b, c;
int section = state.range_x();
int section = state.range(0);

section_triangle(section, a, b, c);
v = (a + b + c) / 3.0f;
Expand Down