Skip to content

Remove deprecated register keyword to enable C++17 compatibility with Apple Clang#1296

Open
czoido wants to merge 1 commit intoopenscenegraph:masterfrom
czoido:remove_register_configlexer
Open

Remove deprecated register keyword to enable C++17 compatibility with Apple Clang#1296
czoido wants to merge 1 commit intoopenscenegraph:masterfrom
czoido:remove_register_configlexer

Conversation

@czoido
Copy link

@czoido czoido commented Jan 25, 2024

Hi!

This change is motivated by the fact that the register keyword is deprecated as of C++17. I've removed it from ConfigLexer.cpp, which now allows us to build with Apple Clang using the C++17 standard.

Thanks for taking a look at this!

sebhmg added a commit to MiraGeoscience/conan-center-index that referenced this pull request Mar 21, 2026
Backport patches 0007-0011 from conan-center-index commit 0992b51
(conan-io#23704 Migrate/openscenegraph) to the Conan 1 recipe.

Patches added:
- 0007: fix MSVC with std C++17 (std::byte ambiguity with Windows SDK)
  Upstream: openscenegraph/OpenSceneGraph#1055
- 0008: replace std::mem_fun_ref (removed in C++17)
  Upstream: openscenegraph/OpenSceneGraph@8a0114a
- 0009: replace std::auto_ptr in plugins (removed in C++17)
  Upstream: openscenegraph/OpenSceneGraph#1246
- 0010: replace std::ptr_fun in obj plugin (removed in C++17)
  Upstream: openscenegraph/OpenSceneGraph#1246
- 0011: remove deprecated register keyword (deprecated in C++17)
  Upstream: openscenegraph/OpenSceneGraph#1296

Source: conan-center-index@0992b51e2fe337e594f2c57bf6c01ee4d733165a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant