File "lib/dune", line 8, characters 29-38: 8 | (names Fuse_bindings_stubs Fuse_util Unix_util_stubs Fuse_main) ^^^^^^^^^ (cd _build/default/lib && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -g -I /Users/dirk/.opam/default/lib/ocaml -I /Users/dirk/.opam/default/lib/camlidl -I /Users/dirk/.opam/default/lib/ocaml/threads -o Fuse_util.o -c Fuse_util.c) Fuse_util.c:676:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] FOR_ALL_OPS(CALLBACK) ^ Fuse_util.c:687:15: error: incompatible function pointer types assigning to 'int (*)(const char *, const char *, const char *, size_t, int, uint32_t)' (aka 'int (*)(const char *, const char *, const char *, unsigned long, int, unsigned int)') from 'int (const char *, const char *, const char *, size_t, int)' (aka 'int (const char *, const char *, const char *, unsigned long, int)') [-Wincompatible-function-pointer-types] FOR_ALL_OPS(SET_OPERATION) ~~~~~~~~~~~~^~~~~~~~~~~~~~ Fuse_util.c:313:3: note: expanded from macro 'FOR_ALL_OPS' MACRO(setxattr) \ ^~~~~~~~~~~~~~~ Fuse_util.c:683:16: note: expanded from macro 'SET_OPERATION' ops.OPNAME = ops_##OPNAME; \ ^ ~~~~~~~~~~~~ Fuse_util.c:687:15: error: incompatible function pointer types assigning to 'int (*)(const char *, const char *, char *, size_t, uint32_t)' (aka 'int (*)(const char *, const char *, char *, unsigned long, unsigned int)') from 'int (const char *, const char *, char *, size_t)' (aka 'int (const char *, const char *, char *, unsigned long)') [-Wincompatible-function-pointer-types] FOR_ALL_OPS(SET_OPERATION) ~~~~~~~~~~~~^~~~~~~~~~~~~~ Fuse_util.c:314:3: note: expanded from macro 'FOR_ALL_OPS' MACRO(getxattr) \ ^~~~~~~~~~~~~~~ Fuse_util.c:683:16: note: expanded from macro 'SET_OPERATION' ops.OPNAME = ops_##OPNAME; \ ^ ~~~~~~~~~~~~ 1 warning and 2 errors generated. (cd _build/default/lib && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -g -I /Users/dirk/.opam/default/lib/ocaml -I /Users/dirk/.opam/default/lib/camlidl -I /Users/dirk/.opam/default/lib/ocaml/threads -o Unix_util_stubs.o -c Unix_util_stubs.c) Unix_util_stubs.c:164:3: warning: expression result unused [-Wunused-value] bufv; ^~~~ 1 warning generated. (cd _build/default/lib && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -g -I /Users/dirk/.opam/default/lib/ocaml -I /Users/dirk/.opam/default/lib/camlidl -I /Users/dirk/.opam/default/lib/ocaml/threads -o Fuse_bindings_stubs.o -c Fuse_bindings_stubs.c) In file included from Fuse_bindings_stubs.c:17: In file included from ./Fuse_bindings.h:17: In file included from /usr/local/include/fuse/fuse.h:31: /usr/local/include/fuse/fuse_common.h:119:15: warning: "flush" is deprecated: use "caml_flush" instead [-W#pragma-messages] unsigned int flush : 1; ^ /Users/dirk/.opam/default/lib/ocaml/caml/compatibility.h:191:15: note: expanded from macro 'flush' #define flush CAML_DEPRECATED("flush", "caml_flush") caml_flush /*SP*/ ^ /Users/dirk/.opam/default/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /Users/dirk/.opam/default/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :165:6: note: expanded from here GCC warning "\"flush\" is deprecated: use \"caml_flush\" instead" ^ In file included from Fuse_bindings_stubs.c:17: In file included from ./Fuse_bindings.h:17: /usr/local/include/fuse/fuse.h:241:8: warning: "flush" is deprecated: use "caml_flush" instead [-W#pragma-messages] int (*flush) (const char *, struct fuse_file_info *); ^ /Users/dirk/.opam/default/lib/ocaml/caml/compatibility.h:191:15: note: expanded from macro 'flush' #define flush CAML_DEPRECATED("flush", "caml_flush") caml_flush /*SP*/ ^ /Users/dirk/.opam/default/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /Users/dirk/.opam/default/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :62:6: note: expanded from here GCC warning "\"flush\" is deprecated: use \"caml_flush\" instead" ^ In file included from Fuse_bindings_stubs.c:17: ./Fuse_bindings.h:45:9: warning: "flush" is deprecated: use "caml_flush" instead [-W#pragma-messages] char *flush; ^ /Users/dirk/.opam/default/lib/ocaml/caml/compatibility.h:191:15: note: expanded from macro 'flush' #define flush CAML_DEPRECATED("flush", "caml_flush") caml_flush /*SP*/ ^ /Users/dirk/.opam/default/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /Users/dirk/.opam/default/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :66:6: note: expanded from here GCC warning "\"flush\" is deprecated: use \"caml_flush\" instead" ^ Fuse_bindings_stubs.c:260:12: warning: "flush" is deprecated: use "caml_flush" instead [-W#pragma-messages] (*_c2).flush = NULL; ^ /Users/dirk/.opam/default/lib/ocaml/caml/compatibility.h:191:15: note: expanded from macro 'flush' #define flush CAML_DEPRECATED("flush", "caml_flush") caml_flush /*SP*/ ^ /Users/dirk/.opam/default/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /Users/dirk/.opam/default/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :70:6: note: expanded from here GCC warning "\"flush\" is deprecated: use \"caml_flush\" instead" ^ Fuse_bindings_stubs.c:263:12: warning: "flush" is deprecated: use "caml_flush" instead [-W#pragma-messages] (*_c2).flush = camlidl_malloc_string(_v48, _ctx); ^ /Users/dirk/.opam/default/lib/ocaml/caml/compatibility.h:191:15: note: expanded from macro 'flush' #define flush CAML_DEPRECATED("flush", "caml_flush") caml_flush /*SP*/ ^ /Users/dirk/.opam/default/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /Users/dirk/.opam/default/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :74:6: note: expanded from here GCC warning "\"flush\" is deprecated: use \"caml_flush\" instead" ^ Fuse_bindings_stubs.c:542:16: warning: "flush" is deprecated: use "caml_flush" instead [-W#pragma-messages] if ((*_c1).flush == NULL) { ^ /Users/dirk/.opam/default/lib/ocaml/caml/compatibility.h:191:15: note: expanded from macro 'flush' #define flush CAML_DEPRECATED("flush", "caml_flush") caml_flush /*SP*/ ^ /Users/dirk/.opam/default/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /Users/dirk/.opam/default/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :146:6: note: expanded from here GCC warning "\"flush\" is deprecated: use \"caml_flush\" instead" ^ Fuse_bindings_stubs.c:545:38: warning: "flush" is deprecated: use "caml_flush" instead [-W#pragma-messages] _v26 = caml_copy_string((*_c1).flush); ^ /Users/dirk/.opam/default/lib/ocaml/caml/compatibility.h:191:15: note: expanded from macro 'flush' #define flush CAML_DEPRECATED("flush", "caml_flush") caml_flush /*SP*/ ^ /Users/dirk/.opam/default/lib/ocaml/caml/misc.h:58:3: note: expanded from macro 'CAML_DEPRECATED' CAML_PREPROWARNING(name1 is deprecated: use name2 instead) ^ /Users/dirk/.opam/default/lib/ocaml/caml/misc.h:56:31: note: expanded from macro 'CAML_PREPROWARNING' #define CAML_PREPROWARNING(x) _Pragma(CAML_MAKEWARNING2(x)) ^ :150:6: note: expanded from here GCC warning "\"flush\" is deprecated: use \"caml_flush\" instead" ^ 7 warnings generated.