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

build: enable Werror on non-Windows #2335

Merged
merged 1 commit into from
Nov 2, 2023
Merged

build: enable Werror on non-Windows #2335

merged 1 commit into from
Nov 2, 2023

Conversation

Riolku
Copy link
Collaborator

@Riolku Riolku commented Nov 2, 2023

Because of our changes recently, we can now build the project with -Werror. However, this doesn't enable all warnings. We should add warnings to the list of flagged warnings so as to forbid more and more bad code.

Windows is simply too noisy to enable -Werror for right now.

@Riolku Riolku force-pushed the enable-werror branch 4 times, most recently from 25699ac to b5ff8bd Compare November 2, 2023 15:53
Copy link

codecov bot commented Nov 2, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2f30023) 88.61% compared to head (6b35668) 88.61%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2335   +/-   ##
=======================================
  Coverage   88.61%   88.61%           
=======================================
  Files        1002     1002           
  Lines       32893    32893           
=======================================
+ Hits        29147    29149    +2     
+ Misses       3746     3744    -2     
Files Coverage Δ
src/common/types/int128_t.cpp 88.03% <100.00%> (ø)

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

CMakeLists.txt Outdated Show resolved Hide resolved
Because of our changes recently, we can now build the project with
-Werror. However, this doesn't enable all warnings. We should add
warnings to the list of flagged warnings so as to forbid more and more
bad code.

Windows is simply too noisy to enable -Werror for right now.
@Riolku Riolku merged commit 7e8c9c6 into master Nov 2, 2023
11 of 12 checks passed
@Riolku Riolku deleted the enable-werror branch November 2, 2023 20:10
@Riolku Riolku mentioned this pull request Nov 13, 2023
4 tasks
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.

None yet

3 participants