Open Vedingrot opened 6 months ago
I think this is a false positive.
The apparently offending access on s2edge_clipping.cc:195
is exit[1 - axis]
.
s2edge_clipping.cc:249
is GetNextFace(..., exit_axis, ...)
exit_axis
is always 0 or 1, so this should be in-bounds.
Can you demonstrate a runtime failure? Vector::operator[]
has a DCHECK
of its argument.
Hi, there is -Warray-bound warning. It appears when compile with gcc13 and
-Wall -O2
.warning:
build:
gcc version:
build_log.txt