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

Use system include directories #954

Closed
wants to merge 1 commit into from

Conversation

ooxi
Copy link

@ooxi ooxi commented Aug 3, 2022

Currently all include directories are added as none system include directories. This might causes warnings and errors when compiling user code.

Fixes #82 and #924

@kilograham kilograham added this to the 1.5.0 milestone Sep 12, 2022
Currently all include directories are added as none system include directories. This might causes warnings and errors when compiling user code.
@ooxi
Copy link
Author

ooxi commented Jun 3, 2023

@kilograham I have updated the PR to work with the develop branch based upon 1.5.0

Would be great if we could merge this since it's the only remaining issue keeping me from running upstream pico-sdk :-)

@peterharperuk
Copy link
Contributor

I don't quite follow why this is needed. I'm surprised if our headers are generating warnings?

@arminveres
Copy link

@peterharperuk The includes apparently cannot be marked as system includes by the user in CMake, nor flags such as -Wpedantic in combination with -Werror, be excluded from affecting standards when compiling.
#924

@kilograham kilograham modified the milestones: 1.6.1, 1.6.2 Jul 7, 2024
@kilograham kilograham modified the milestones: 1.6.2, 2.0.0 Aug 8, 2024
@kilograham kilograham closed this Aug 8, 2024
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.

4 participants