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

feature wish: define CAML_NAME_SPACE per default #4013

Closed
vicuna opened this issue May 1, 2006 · 2 comments
Closed

feature wish: define CAML_NAME_SPACE per default #4013

vicuna opened this issue May 1, 2006 · 2 comments

Comments

@vicuna
Copy link

vicuna commented May 1, 2006

Original bug ID: 4013
Reporter: Hendrik Tews
Status: closed (set by @damiendoligez on 2013-07-29T11:39:37Z)
Resolution: fixed
Priority: high
Severity: tweak
Version: 3.09.2
Target version: 4.01.0+dev
Fixed in version: 4.01.0+dev
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @hcarty

Bug description

In bigger mixed C/Ocaml projects the identifiers in compatibility.h get in the way. For instance

#define flush caml_flush /SP/

will very likely cause trouble.

I suggest to document CAML_NAME_SPACE in Chapter 18 "Interfacing C .."

Further, I believe compatibility.h should be disabled per default.

@vicuna
Copy link
Author

vicuna commented Sep 11, 2012

Comment author: @damiendoligez

Disabling it by default: no way. How many programs would that break?

Documenting it: now that's a good idea.

@vicuna
Copy link
Author

vicuna commented Jul 29, 2013

Comment author: @damiendoligez

Added a note about CAML_NAME_SPACE to the docs (rev 13949).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant