Skip to content

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.

2 participants