-
Notifications
You must be signed in to change notification settings - Fork 993
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
XcodeDeps: use SYSTEM_HEADER_SEARCH_PATHS as include search paths to suppress warnings #14157
XcodeDeps: use SYSTEM_HEADER_SEARCH_PATHS as include search paths to suppress warnings #14157
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks very much for contributing this.
There is a test failing, test_generator_files()
in https://ci.conan.io/blue/organizations/jenkins/ConanTestSuite/detail/PR-14157/1/pipeline/41, because it was testing the generated files output, it should be easy to change too.
I'm having trouble to get the tests running. I wanted to try to write some additional tests for the other PR I'm preparing.
and I've exported the env variable
I've also created a
But when try to run the command I get:
same if try to run with I get a similar error if I try to run only the apple tools tests:
Any help would be appreciated. |
That is weird, for some reason it seems |
ok apparently there are many packages missing from the provided requirements.
Then I've tried
I've tried this with a fresh venv. |
It's been a while since I've done anything major in Python, so here are my exact steps with a fresh venv:
|
ah my bad, I forget the normal |
I just noticed that |
Yes, as it was not explicit in your issue report, and you did the PR to develop, I assumed that you were using 1.X. If that is not the case, don't worry much, this can be merged, and I will merge it too to |
Merged, thanks very much for your contribution! It will be in 1.61 and 2.0.8 |
Alright thanks, I just followed the instructions which didn't mention |
@memsharded Hey James, is this PR included in the 2.0.8 release? I couldn't find it in the release notes. |
Yes, @wAuner it should be there, because 1.X is merged to 2.0.X, just the release notes are not automatic and it was skipped. But it definitely should be in 2.0.8 |
fixes #14147
Changelog: Fix: Change the xcconfig variable from
HEADER_SEARCH_PATHS
toSYSTEM_HEADER_SEARCH_PATHS
changes the command line from-i
to-isystem
and avoids warnings that arise from including package headers.Docs: conan-io/docs#3372
Warnings that arise from including package headers are now suppressed by default for the XcodeDeps generator. This is in line to how other generators, such as the cmake generator behave (see #8543).
Changing the xcconfig variable from
HEADER_SEARCH_PATHS
toSYSTEM_HEADER_SEARCH_PATHS
changes the command line from-i
to-isystem
.