Skip to content

Conversation

@Xazax-hun
Copy link
Contributor

Properly push and pop the warning configuration to avoid unintentional side effects. The previous solution could overwrite command line options and the inclusion of the header can change what warnings are enabled.

Properly push and pop the warning configuration to avoid unintentional
side effects. The previous solution could overwrite command line options
and the inclusion of the header can change what warnings are enabled.
@quentin
Copy link
Member

quentin commented Dec 23, 2023

Hi, thanks for the fix. Did you find this "problem" by manual inspection or do you run some sort of automatic checker?

@codecov
Copy link

codecov bot commented Dec 23, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9ac6b24) 78.18% compared to head (7ea3d58) 78.19%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2462   +/-   ##
=======================================
  Coverage   78.18%   78.19%           
=======================================
  Files         486      486           
  Lines       32422    32422           
=======================================
+ Hits        25349    25352    +3     
+ Misses       7073     7070    -3     
Files Coverage Δ
src/include/souffle/utility/json11.h 59.03% <ø> (ø)

... and 2 files with indirect coverage changes

@Xazax-hun
Copy link
Contributor Author

I run into this because including this header in the project I am working on made instances of this warning appear even though we have it disabled in our project files.

@quentin quentin merged commit a779dbe into souffle-lang:master Dec 23, 2023
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.

2 participants