Skip to content

Commit

Permalink
bazel/rc: Add -fsized-deallocation to cxx opts (#32292)
Browse files Browse the repository at this point in the history
this fixes an issue where clang was checking the wrong c++ function
signatures and throwing errors/warnings

Signed-off-by: Ryan Northey <[email protected]>
  • Loading branch information
phlax authored Feb 9, 2024
1 parent c35c196 commit 61c9a47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ build:linux --copt=-fdebug-types-section
build:linux --copt=-fPIC
build:linux --copt=-Wno-deprecated-declarations
build:linux --cxxopt=-std=c++17 --host_cxxopt=-std=c++17
build:linux --cxxopt=-fsized-deallocation --host_cxxopt=-fsized-deallocation
build:linux --conlyopt=-fexceptions
build:linux --fission=dbg,opt
build:linux --features=per_object_debug_info
Expand Down

0 comments on commit 61c9a47

Please sign in to comment.