Skip to content

Conversation

@OmarDuran
Copy link
Contributor

@OmarDuran OmarDuran commented Oct 30, 2025

Adds -Wno-shorten-64-to-32 to Clang warning flags to suppress noisy 64-to-32 bit conversion warnings while keeping other strict checks enabled.

This PR is connected with issue #3893

@OmarDuran OmarDuran marked this pull request as ready for review October 30, 2025 18:04
@OmarDuran OmarDuran requested a review from rrsettgast as a code owner October 30, 2025 18:04
@OmarDuran OmarDuran self-assigned this Oct 30, 2025
@OmarDuran OmarDuran added ci: run CUDA builds Allows to triggers (costly) CUDA jobs ci: run integrated tests Allows to run the integrated tests in GEOS CI ci: run code coverage enables running of the code coverage CI jobs labels Oct 30, 2025
@OmarDuran OmarDuran changed the title wip: Add Clang warning flag to suppress 64-to-32 bit conversion warnings fix: Add Clang warning flag to suppress 64-to-32 bit conversion warnings Oct 30, 2025
@codecov
Copy link

codecov bot commented Oct 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.94%. Comparing base (c508d6e) to head (f4a0cbe).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3892   +/-   ##
========================================
  Coverage    58.94%   58.94%           
========================================
  Files         1326     1326           
  Lines       109524   109524           
========================================
+ Hits         64557    64559    +2     
+ Misses       44967    44965    -2     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rrsettgast
Copy link
Member

We shouldn't do this. We should fix the problem instead. Can you output an example of the warnings? I don't see them on my Mac. If the operations is OK, i.e. our integer_conversion routines, then we can isolate the warning suppression with pragmas

@OmarDuran OmarDuran marked this pull request as draft November 3, 2025 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci: run code coverage enables running of the code coverage CI jobs ci: run CUDA builds Allows to triggers (costly) CUDA jobs ci: run integrated tests Allows to run the integrated tests in GEOS CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants