Use HIDE_SYMBOLS_BY_DEFAULT, fix MovingWindowFilter#566
Conversation
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
Codecov Report
@@ Coverage Diff @@
## main #566 +/- ##
=======================================
Coverage 96.18% 96.18%
=======================================
Files 143 142 -1
Lines 9826 9826
=======================================
Hits 9451 9451
Misses 375 375
|
|
Since gz-cmake already has |
this sounds like you are suggesting the following:
If we merge gazebosim/gz-cmake#392 before removing the |
it sounds a little like overkill, but I think it would be the most thorough approach since it would run CI on every single package |
Maybe a little overkill, but my gut feeling is that it won't be straightforward to get all the packages to build and test properly with symbols hidden by default, so I'd like CI to run on the PRs rather than just local testing. If we can do that without using the |
I opened gazebosim/gz-utils#115 for example. I think it will take some additional development from our infrastructure team to support testing all packages from source on Ubuntu in CI |
Part of testing gazebosim/gz-cmake#392 Signed-off-by: Steve Peters <scpeters@openrobotics.org> Signed-off-by: Steve Peters <scpeters@openrobotics.org>
| } | ||
| } | ||
|
|
||
| template class MovingWindowFilter<int>; |
There was a problem hiding this comment.
Do we still need these if it's a header-only?
There was a problem hiding this comment.
You are right, I don't think so. 56f145f
…' into jrivero/visibility_fixes_linux_single_header
|
I opened #567 to set |
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
|
@j-rivero Looks like there are two homebrew jobs? And both of them are failing trying to install either |
I think it's due to gazebo-tooling/release-tools#1054 |
Signed-off-by: Steve Peters <scpeters@openrobotics.org> Signed-off-by: Steve Peters <scpeters@openrobotics.org>
|
I'll wait for @azeey to approve |


🦟 Bug fix
As part of the works of defining
hidden by defaultin gazebosim/gz-cmake#392, this PR moves the whole MovingWindowFilter class to be header only. Reason for this is that GCC on Jammy seems buggy to me (clang11 on Jammy worked fine, also clang on Mac and MSVC on Windows deal with it just fine) when it needs to generate the symbols needed for the specialization of the class done for<gz::math::Vector3i>. See efforts in #565.Summary
Checklist
codecheckpassed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-bymessages.