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

[vcpkg] Fix compile on gcc 6 #13290

Merged
merged 2 commits into from
Sep 4, 2020

Conversation

strega-nil
Copy link
Contributor

@strega-nil strega-nil commented Sep 2, 2020

Depends on #13038

Tested with g++ 6.5.0 on Ubuntu 18.04.

@strega-nil strega-nil added category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) depends:different-pr This PR or Issue depends on a PR which has been filed labels Sep 2, 2020
@strega-nil strega-nil marked this pull request as draft September 2, 2020 01:40
@strega-nil strega-nil marked this pull request as ready for review September 2, 2020 16:33
@strega-nil strega-nil removed the depends:different-pr This PR or Issue depends on a PR which has been filed label Sep 2, 2020
@BillyONeal
Copy link
Member

Stupid question: Can you name these constants outside of the files you declared them in here?

And should these constants even be in headers at all?

@strega-nil
Copy link
Contributor Author

@BillyONeal yes, and yes.

@strega-nil
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@strega-nil
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@BillyONeal
Copy link
Member

:sigh: I still hate named-constants-with-content-identical-to-the-named-constant but this doesn't change that.

@BillyONeal BillyONeal merged commit 4467eb3 into microsoft:master Sep 4, 2020
@strega-nil strega-nil deleted the fix-compile-on-gcc-6 branch September 10, 2020 21:20
strega-nil added a commit to strega-nil/vcpkg that referenced this pull request May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants