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

[WIP][CI] warning as error at compilation level #3203

Closed
wants to merge 1 commit into from

Conversation

skoudoro
Copy link
Member

@skoudoro skoudoro commented Apr 25, 2024

This PR adds a flag to make sure we have no warnings when we compile our C extension.

This PR is in work in progress. It should be ok for macOS and Linux but I expect it to fail for Windows. So, I need to connect to a windows machine to handle those issues.

fix #2588

Copy link

codecov bot commented Apr 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.76%. Comparing base (bc3075e) to head (609b443).
Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3203      +/-   ##
==========================================
+ Coverage   83.75%   83.76%   +0.01%     
==========================================
  Files         153      153              
  Lines       21340    21340              
  Branches     3445     3445              
==========================================
+ Hits        17873    17876       +3     
+ Misses       2611     2608       -3     
  Partials      856      856              

see 1 file with indirect coverage changes

@skoudoro skoudoro force-pushed the werror-compilation branch 2 times, most recently from 6b1965b to 60852c3 Compare May 6, 2024 14:34
@skoudoro
Copy link
Member Author

skoudoro commented May 7, 2024

This task will be less easy than expected. We do not control the code generated by Cython.

Currently, I often encounter C4101 warnings (unreferenced local variable). Not sure why those variables are created since they are not needed and present in the pyx files.

Still investigating.....

@skoudoro
Copy link
Member Author

closing, since there is tons of work before a viable PR.

Iw ill work back on this topic during the summer

@skoudoro skoudoro closed this May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup CI to fail on warnings during external compilation warnings
1 participant