Created attachment 916707 [details] Error while compile with nfs USE-flag Hello there There are errors while compile: access/nfs.c: In function ‘FileRead’: access/nfs.c:213:54: error: passing argument 3 of ‘nfs_read_async’ makes pointer from integer without a cast [-Wint-conversion] 213 | if (nfs_read_async(p_sys->p_nfs, p_sys->p_nfsfh, i_len, nfs_read_cb, | ^~~~~ | | | size_t {aka long unsigned int} In file included from access/nfs.c:44: /usr/include/nfsc/libnfs.h:755:33: note: expected ‘void *’ but argument is of type ‘size_t’ {aka ‘long unsigned int’} 755 | void *buf, size_t count, | ~~~~~~^~~ access/nfs.c:213:61: error: passing argument 4 of ‘nfs_read_async’ makes integer from pointer without a cast [-Wint-conversion] 213 | if (nfs_read_async(p_sys->p_nfs, p_sys->p_nfsfh, i_len, nfs_read_cb, | ^~~~~~~~~~~ | | | void (*)(int, struct nfs_context *, void *, void *) /usr/include/nfsc/libnfs.h:755:45: note: expected ‘size_t’ {aka ‘long unsigned int’} but argument is of type ‘void (*)(int, struct nfs_context *, void *, void *)’ 755 | void *buf, size_t count, | ~~~~~~~^~~~~ access/nfs.c:214:24: error: passing argument 5 of ‘nfs_read_async’ from incompatible pointer type [-Wincompatible-pointer-types] 214 | p_access) < 0) | ^~~~~~~~ | | | stream_t * /usr/include/nfsc/libnfs.h:756:34: note: expected ‘nfs_cb’ {aka ‘void (*)(int, struct nfs_context *, void *, void *)’} but argument is of type ‘stream_t *’ 756 | nfs_cb cb, void *private_data); | ~~~~~~~^~ access/nfs.c:213:9: error: too few arguments to function ‘nfs_read_async’ 213 | if (nfs_read_async(p_sys->p_nfs, p_sys->p_nfsfh, i_len, nfs_read_cb, | ^~~~~~~~~~~~~~ /usr/include/nfsc/libnfs.h:754:12: note: declared here 754 | EXTERN int nfs_read_async(struct nfs_context *nfs, struct nfsfh *nfsfh, | ^~~~~~~~~~~~~~ ../doltcompile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DMODULE_STRING=\"$(p="access/concat.lo"; p="${p##*/}"; p="${p#lib}"; p="${p%_plugin*}"; p=$(echo "$p"|sed 's/-/_/g'); p="${p%.lo}"; echo "$p")\" -D__PLUGIN__ -I./access -I./codec -I../include -I../include -I/usr/include/samba-4.0 -march=native -mtune=generic -pipe -mglibc -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=12288 -O3 -fdiagnostics-color=always -falign-functions=32 -fno-strict-aliasing -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -fvisibility=hidden -c -o access/concat.lo access/concat.c make[4]: *** [Makefile:23323: access/libnfs_plugin_la-nfs.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... This occur when nsf USE-flag enabled Please, fix. Thanks!
Created attachment 916708 [details] Error while compile
Please don't attach screenshots when everything we need is in plaintext logs. Not reproducible here. emerge --info missing.
Created attachment 916732 [details] emerge --info has been added emerge --info has been added