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

makefiles/arch/native: don't be pedantic #20873

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

benpicco
Copy link
Contributor

@benpicco benpicco commented Sep 26, 2024

Contribution description

We don't enable this on any other architecture.
-pedantic doesn't give us any more beneficial warnings, only warns about language extensions that are implemented by both GCC and Clang anyway.

Since those are the only compilers we are targeting, we can just make use of them to make our lives easier.

Testing procedure

Code should still compile as before.
We can likely drop all those

typedef int dont_be_pedantic;

as a follow-up.

Issues/PRs references

We don't enable this on any other architecture.
-pedantic doesn't give us any more beneficial wanrings, only warns
about language extensions that are implemented by both GCC and Clang
anyway.

Since those are the only compilers we are targeting, we can just make
use of them to make our lives easier.
@github-actions github-actions bot added Platform: native Platform: This PR/issue effects the native platform Area: build system Area: Build system labels Sep 26, 2024
@benpicco benpicco added Process: needs >1 ACK Integration Process: This PR requires more than one ACK CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Sep 26, 2024
@github-actions github-actions bot added the Process: missing approvals Integration Process: PR needs more ACKS (handled by action) label Sep 26, 2024
@riot-ci
Copy link

riot-ci commented Sep 26, 2024

Murdock results

✔️ PASSED

5c34eea makefiles/arch/native: don't be pedantic

Success Failures Total Runtime
10196 0 10197 18m:34s

Artifacts

@benpicco benpicco added Area: build system Area: Build system and removed Area: build system Area: Build system labels Oct 1, 2024
@github-actions github-actions bot removed the Process: missing approvals Integration Process: PR needs more ACKS (handled by action) label Oct 1, 2024
@maribu maribu added this pull request to the merge queue Oct 1, 2024
Merged via the queue into RIOT-OS:master with commit 4b36bb6 Oct 1, 2024
28 of 31 checks passed
@benpicco benpicco deleted the cpu/native-no-pedantic branch October 1, 2024 13:00
@benpicco benpicco added this to the Release 2024.10 milestone Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: build system Area: Build system CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Platform: native Platform: This PR/issue effects the native platform Process: needs >1 ACK Integration Process: This PR requires more than one ACK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants