Skip to content

Conversation

@akva2
Copy link
Member

@akva2 akva2 commented Dec 12, 2025

get rid of warning

[288/821] Building C object CMakeFiles/opmsimulators.dir/opm/simulators/linalg/mixed/bsr.c.o
cc1: warning: command-line option '-fext-numeric-literals' is valid for C++/ObjC++ but not for C

@akva2 akva2 added the manual:irrelevant This PR is a minor fix and should not appear in the manual label Dec 12, 2025
@akva2
Copy link
Member Author

akva2 commented Dec 12, 2025

jenkins build this please

@blattms blattms merged commit 9d0cd31 into OPM:master Dec 12, 2025
3 checks passed
@blattms
Copy link
Member

blattms commented Dec 12, 2025

Thanks a lot.
I recall a discussion in DUNE that this option is not needed if the standard gnu++17 is used. Never checked that myself and cannot find a reference 😅 Might not hold for OPM anyway

@akva2 akva2 deleted the no_invalid_c_flag branch December 12, 2025 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

manual:irrelevant This PR is a minor fix and should not appear in the manual

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants