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

Fix errors on compilation with c++17 #67

Merged
merged 3 commits into from
Jun 16, 2022

Conversation

chaorunrun
Copy link
Contributor

@chaorunrun chaorunrun commented May 18, 2022

Since there is no header file in c++17 standard library, it doesn't build with included in uuid.h . The patch detects c++ standard configuration on compiler to determine if gsl shall be used to fill up the gap between c++17 and c++20.

@mariusbancila
Copy link
Owner

Please provide a description of the problem this fixes and of the changes you made. Is there an open issue this is fixing?

Copy link
Owner

@mariusbancila mariusbancila left a comment

Choose a reason for hiding this comment

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

I don't see the point of including <gsl/gsl>. <gsl/span> should be enough.

@chaorunrun
Copy link
Contributor Author

Hi, @mariusbancila
<gsl/gsl> has been replaced by <gsl/span>. Please check it out.

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.

2 participants