Skip to content

Conversation

@philippremy
Copy link

This allows the project to be build with CMAKE_CXX_STANDARD=20.

It previously failed because it used the removed register keyword in random.h. As register was only a compiler hint, it does to change any program logic.

This paves the way to allow building LEMON in AliceVision as an embedded dependency with the general CMAKE_CORE_BUILD_FLAGS, which set CMAKE_CXX_STANDARD=20 (see here).

Remove the register keyword used in random.h.

As it was only used as a compiler hint, this does not change behaviour.

Signed-off-by: Philipp Remy <[email protected]>
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