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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always define CAML_NAME_SPACE #10933

Merged
merged 1 commit into from
Jan 30, 2022
Merged

Conversation

dra27
Copy link
Member

@dra27 dra27 commented Jan 21, 2022

Small follow-up to #10863 inspired by the points being made at #10675 (comment).

Rather than obliterating CAML_NAME_SPACE, we've made it the "default", so this just ensures in config.h that it's always set (all the public headers pull in config.h). Apart from anything else, it ensures that it never gets used for anything else in OCaml 10 in another 25 years' time 馃檪

@xavierleroy
Copy link
Contributor

What is the point? CAML_NAME_SPACE is no longer tested anywhere in the OCaml runtime...

@dra27
Copy link
Member Author

dra27 commented Jan 21, 2022

It's not tested in the OCaml runtime, but it is tested in user C code (at least from a rapid grep)

@xavierleroy
Copy link
Contributor

Ah, I wasn't expecting that.

@damiendoligez damiendoligez added this to the 5.00.0 milestone Jan 21, 2022
Copy link
Contributor

@xavierleroy xavierleroy left a comment

Choose a reason for hiding this comment

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

Since there is evidence of use of CAML_NAME_SPACE outside the core system, let's merge, then.

@xavierleroy xavierleroy merged commit 9ef7494 into ocaml:trunk Jan 30, 2022
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.

None yet

3 participants