ocaml-stdint icon indicating copy to clipboard operation
ocaml-stdint copied to clipboard

Headers files are not compatible with C++

Open vbmithr opened this issue 2 years ago • 0 comments

All [u,]intXX.h files should use extern "C" { ... } to allow linking with a C++ binding. I ran into this issue and worked it around by doing extern "C" { #include <uint64.h> }

But it would be nicer to put this directly in aforementioned files.

vbmithr avatar Dec 15 '21 09:12 vbmithr