Skip to content
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

Build fix for Visual Studio 2017 with c++17 or later #578

Merged
merged 1 commit into from May 18, 2022

Conversation

MarkBicknellONT
Copy link
Contributor

PathTraits added as friend of object

Description

Fixes #577

How to test this?

Build master with cmake Visual Studio 15 2017 generator, arch x64, on windows 10
Change the C++ language standard to c++17 (or later) in the Visual Studio UI (Configuration Properties -> C/C++ -> Language -> C++ Language Standard) in one of the examples or tests, and then try to build. The code should now build correctly.

Test System

  • OS: Windows 10
  • Compiler: Visual Studio 15 2017

Copy link
Member

@matz-e matz-e left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! Weird that the other compilers don't complain about this…

@matz-e matz-e merged commit c594647 into BlueBrain:master May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compile error with Visual Studio 2017 when using c++17 or later
4 participants