Open ozanmakes opened 2 years ago
Do the warning messages already disappear when CAML_NAME_SPACE
is properly defined?
⇨ #caml-name-space
If there really is a name collision between the headers of OCaml and the manually added headers, it gets ugly. There would be more to consider and spontaneously I am unsure how to solve this in a way that is not error prone and transparent.
I really appreciate your quick response! I wanted to try this branch first thing this week but it slipped my mind.
CAML_NAME_SPACE
does the trick for my codebase. No warnings get reported anymore, and it makes it much easier to develop because warnings and errors from my own code don't get lost in all this. This is great, thanks!
Because of inclusion of
default_headers
before my own headers I'm getting a lot of compiler warnings. For example, I have gstreamer bindings and the gst_stubs.c ends up like this:As a result of that I get many pages of warnings like so:
Is there a way to customise this or work around it?