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
With strict CFLAGS ocamlfuse will fail to compile:
$ (cd _build/default/lib && /usr/bin/ocamlc.opt -g -I /usr/lib64/ocaml/camlidl -I /usr/lib64/ocaml/threads -ccopt -I/usr/include/fuse -ccopt -D_FILE_OFFSET_BITS=64 -ccopt -g -o Unix_util_stubs.o Unix_util_stubs.c)
Unix_util_stubs.c: In function 'unix_util_read':
Unix_util_stubs.c:60:9: error: implicit declaration of function 'read'; did you mean 'fread'? [-Werror=implicit-function-declaration]
60 | res = read(c_fd, c_data, c_dim);
| ^~~~
| fread
Unix_util_stubs.c: In function 'unix_util_write':
Unix_util_stubs.c:85:9: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Werror=implicit-function-declaration]
85 | res = write(c_fd, c_data, c_dim);
| ^~~~~
| fwrite
Unix_util_stubs.c: In function 'unix_util_fchdir':
Unix_util_stubs.c:115:3: error: implicit declaration of function 'fchdir' [-Werror=implicit-function-declaration]
115 | fchdir(Int_val(fd));
| ^~~~~~
cc1: some warnings being treated as errors
Signed-off-by: Olaf Hering <olaf@aepfle.de>
0 commit comments