Skip to content

Use CXX_STANDARD 20 in all packages #401

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: devel
Choose a base branch
from

Conversation

efernandez
Copy link
Collaborator

  • Use CXX_STANDARD 20 in all packages
  • Fix maybe-uninitialized
  • Use CXX_STANDARD 17 for fuse_viz - CXX_STANDARD 20 fails if rviz uses OGRE 1.10.11
    ogre-1.10.11/include/OGRE/OgreMemorySTLAllocator.h:126:44: error: ‘const_pointer’ in ‘class std::allocator<void>’ does not name a type
      126 |             typename std::allocator<void>::const_pointer ptr = 0 )
          |                                            ^~~~~~~~~~~~~
  • Disambiguate GradientChecker overloaded ctor call

We've bumped to C++20 standard in our fork clearpathrobotics#36

Sending this upstream in case you want to consider bumping to C++20 as well. Otherwise, feel free to close this PR.

I'm just trying to minimize the changes in our fork wrt upstream.

CXX_STANDARD 20 fails if rviz uses OGRE 1.10.11
```bash
ogre-1.10.11/include/OGRE/OgreMemorySTLAllocator.h:126:44: error: ‘const_pointer’ in ‘class std::allocator<void>’ does not name a type
  126 |             typename std::allocator<void>::const_pointer ptr = 0 )
      |                                            ^~~~~~~~~~~~~
```
@efernandez efernandez requested a review from svwilliams April 17, 2025 10:18
@efernandez efernandez self-assigned this Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant