Skip to content

make FLOW_INSTANTIATE_FLOAT a private compile definition#6945

Merged
bska merged 1 commit into
OPM:masterfrom
akva2:instantiate_float_priv
Mar 17, 2026
Merged

make FLOW_INSTANTIATE_FLOAT a private compile definition#6945
bska merged 1 commit into
OPM:masterfrom
akva2:instantiate_float_priv

Conversation

@akva2
Copy link
Copy Markdown
Member

@akva2 akva2 commented Mar 17, 2026

only used in cpp files and two header files. neither of these header files are part of any public interface, so mark them private.

while this means downstreams cannot detect if the library was built with float support, they will certainly notice the linking errors. should this become a problem, we can easily move it to public

only used in cpp files and two header files. neither of
these header files are part of any public interface,
so mark them private.

while this means downstreams cannot detect if the library
was built with float support, they will certainly notice the linking
errors. should this become a problem, we can easily move it to
public
@akva2 akva2 added the manual:irrelevant This PR is a minor fix and should not appear in the manual label Mar 17, 2026
@akva2
Copy link
Copy Markdown
Member Author

akva2 commented Mar 17, 2026

jenkins build this please

Copy link
Copy Markdown
Member

@bska bska left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, let's gain some experience with this approach. I'll merge into master.

@bska bska merged commit 52ef8cc into OPM:master Mar 17, 2026
3 checks passed
@akva2 akva2 deleted the instantiate_float_priv branch March 17, 2026 11:47
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