gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.21k stars 484 forks source link

Remove GZ_SINGLETON_DECLARE definition workaround (fix for armhf) #3283

Closed j-rivero closed 1 year ago

j-rivero commented 2 years ago

Signed-off-by: Jose Luis Rivero jrivero@osrfoundation.org

🦟 Bug fix

Fixes #3208.

Summary

The trick of defining the template function specialized was introduced in a commit part of the Windows works as part of the Windows works, seems to me like a workaround to make the compilation to work somehow. On my Jammy testing system, both clang and gcc compiled it fine with this PR and packages were made using gcc for arm64, armhf and ppc64.

Did not test it on Windows, let's see if the CI is happy or it was indeed needed.

Checklist

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

traversaro commented 1 year ago

Did not test it on Windows, let's see if the CI is happy or it was indeed needed.

Sorry, I forgot about this PR. The conda-forge CI seems to be happy, the Windows 7 one tests are failing but I guess this is expected, so I guess we are good to go?

talregev commented 1 year ago

@j-rivero can you rebase this branch to the latest gazebo11?

j-rivero commented 1 year ago

@j-rivero can you rebase this branch to the latest gazebo11?

I can rebase and merge yes.