You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They're neither unmaintained nor just broken. The issue is that as of now, ocaml-ctypes does not support cv-qualifiers. Thus, strings in binding code are always char* instead of const char*, which leads to a warning (-Wincompatible-pointer-types). There is a issue in the ctypes repo, which goes back to 2014 (yallop/ocaml-ctypes#134).
Unfortunately, I don't know how to work around this without explicit support for const in ctypes. In another issue, the author called the warning "unavoidable" (for now, fdopen/ppx_cstubs#6 (comment)).
Maybe we could patch raygui to change the declaration.. I'll see if this is feasible.
Until then, you could try to compile with an older version of gcc.
The
raygui
bindings seems either unmaintained or just broken:The text was updated successfully, but these errors were encountered: