Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Name clashes #8395
Original bug ID: 1956
Hello Lars and caml-bugs,
There is a name clash between the libcrypto and libcamlrun on the symbol
Similar issues have been raised recently on the caml-list (concerning
Any plan to address these issues?
OCaml is no more faulty than these libraries, but this is not a reason not
A natural solution would be to prefix all the common names like
Comment author: @mshinwell
Consolidating this with another issue so we have a single place to keep track of namespacing problems: the runtime isn't clean yet because of macros and so forth, I suspect:
All function in caml C headers are prefixed with caml_.
Comment author: @stedolan
Macros, typedefs and static functions are not an issue.
I've created a pull request (#973) that removes the current offenders, and adds a tool to detect them.