- NavalDomain.cpp: materialize BodyState temporaries before taking const& to
member (dangling-pointer= false positive on clang, real UB caught by gcc-12)
- TestBerthManeuverSystem.cpp: add GCC diagnostic pragma alongside existing
clang pragma to suppress deprecated-declarations on TugParametricForces
- TestWaveSpectrum.cpp: add missing #include <cmath> for std::sqrt
(transitively included on macOS/clang, required explicitly on gcc-12)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>