RobotLocomotion / drake

Model-based design and verification for robotics.
https://drake.mit.edu
Other
3.35k stars 1.27k forks source link

[common] Work around linker error with clang 16+ #22172

Closed rpoyner-tri closed 1 week ago

rpoyner-tri commented 1 week ago

This patch avoids linker errors seen with clang 16 through 18 seen on both macos and ubuntu noble. Somehow, without this patch, the compiler emits undefined symbols containing the Drake-only using-statement type MatrixX.


This change is Reviewable

rpoyner-tri commented 1 week ago

@drake-jenkins-bot mac-arm-sequoia-clang-bazel-experimental-release please.

BetsyMcPhail commented 1 week ago

@drake-jenkins-bot mac-arm-sequoia-unprovisioned-clang-bazel-experimental-release please.