- Rebuild started at 10:39...
- 1>------ Rebuild All started: Project: libtirpc, Configuration: Debug x64 ------
- 1>asprintf.c
- 1>authsspi_prot.c
- 1>authunix_prot.c
- 1>auth_none.c
- 1>auth_sspi.c
- 1>auth_time.c
- 1>auth_unix.c
- 1>bindresvport.c
- 1>clnt_bcast.c
- 1>clnt_dg.c
- 1>clnt_generic.c
- 1>clnt_perror.c
- 1>clnt_raw.c
- 1>clnt_simple.c
- 1>clnt_vc.c
- 1>des_soft.c
- 1>epoll_sub.c
- 1>getnetconfig.c
- 1>getnetpath.c
- 1>getpeereid.c
- 1>Generating Code...
- 1>Compiling...
- 1>getpublickey.c
- 1>getrpcent.c
- 1>getrpcport.c
- 1>gettimeofday.c
- 1>key_call.c
- 1>key_prot_xdr.c
- 1>mt_misc.c
- 1>netname.c
- 1>netnamer.c
- 1>pmap_clnt.c
- 1>pmap_getmaps.c
- 1>pmap_getport.c
- 1>pmap_prot.c
- 1>pmap_prot2.c
- 1>pmap_rmt.c
- 1>rpcb_clnt.c
- 1>rpcb_prot.c
- 1>rpcb_st_xdr.c
- 1>rpcdname.c
- 1>rpc_callmsg.c
- 1>Generating Code...
- 1>Compiling...
- 1>rpc_commondata.c
- 1>rpc_dtablesize.c
- 1>rpc_generic.c
- 1>rpc_prot.c
- 1>rpc_soc.c
- 1>rtime.c
- 1>svc.c
- 1>svc_auth.c
- 1>svc_auth_none.c
- 1>svc_auth_unix.c
- 1>svc_dg.c
- 1>svc_generic.c
- 1>svc_raw.c
- 1>svc_run.c
- 1>svc_simple.c
- 1>svc_vc.c
- 1>winstubs.c
- 1>wintirpc.c
- 1>xdr.c
- 1>xdr_array.c
- 1>Generating Code...
- 1>Compiling...
- 1>xdr_float.c
- 1>xdr_mem.c
- 1>xdr_rec.c
- 1>xdr_reference.c
- 1>xdr_sizeof.c
- 1>xdr_stdio.c
- 1>Generating Code...
- 1> Creating library C:\cygwin64\home\roland.mainz\work\msnfs41client\vs22test12\ms-nfs41-client\build.vc19\x64\Debug\libtirpc.lib and object C:\cygwin64\home\roland.mainz\work\msnfs41client\vs22test12\ms-nfs41-client\build.vc19\x64\Debug\libtirpc.exp
- 1>libtirpc.vcxproj -> C:\cygwin64\home\roland.mainz\work\msnfs41client\vs22test12\ms-nfs41-client\build.vc19\x64\Debug\libtirpc.dll
- 2>------ Rebuild All started: Project: nfsd, Configuration: Debug x64 ------
- 2>015d2053-dirty
- 2>..\..\daemon\acl.c(1219,41): warning : incompatible pointer types passing 'PACE_HEADER *' (aka 'struct _ACE_HEADER **') to parameter of type 'LPVOID *' (aka 'void **') [-Wincompatible-pointer-types]
- 2>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\securitybaseapi.h(750,22): message : passing argument to parameter 'pAce' here
- 2>..\..\daemon\callback_xdr.c(95,29): warning : cast from 'bool_t (*)(void)' (aka 'int (*)(void)') to 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, ...)') converts to incompatible function type [-Wcast-function-type-mismatch]
- 2>..\..\daemon\callback_xdr.c(239,34): warning : cast from 'bool_t (*)(void)' (aka 'int (*)(void)') to 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, ...)') converts to incompatible function type [-Wcast-function-type-mismatch]
- 2>..\..\daemon\ea.c(362,44): warning : variable 'prev' set but not used [-Wunused-but-set-variable]
- 2>..\..\daemon\idmap.c(569,13): warning : performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
- 2>..\..\daemon\idmap.c(38,29): message : expanded from macro 'PTR2UINT'
- 2>..\..\daemon\util.h(55,61): message : expanded from macro 'PTR2PTRDIFF_T'
- 2>..\..\daemon\idmap.c(777,28): warning : performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
- 2>..\..\daemon\idmap.c(36,30): message : expanded from macro 'PTR2UID_T'
- 2>..\..\daemon\util.h(55,61): message : expanded from macro 'PTR2PTRDIFF_T'
- 2>..\..\daemon\idmap.c(891,28): warning : performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
- 2>..\..\daemon\idmap.c(37,30): message : expanded from macro 'PTR2GID_T'
- 2>..\..\daemon\util.h(55,61): message : expanded from macro 'PTR2PTRDIFF_T'
- 2>..\..\daemon\idmap.c(1114,23): warning : performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
- 2>..\..\daemon\idmap.c(36,30): message : expanded from macro 'PTR2UID_T'
- 2>..\..\daemon\util.h(55,61): message : expanded from macro 'PTR2PTRDIFF_T'
- 2>..\..\daemon\idmap.c(1252,23): warning : performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
- 2>..\..\daemon\idmap.c(37,30): message : expanded from macro 'PTR2GID_T'
- 2>..\..\daemon\util.h(55,61): message : expanded from macro 'PTR2PTRDIFF_T'
- 2>..\..\daemon\nfs41_ops.c(1523,42): warning : '&&' within '||' [-Wlogical-op-parentheses]
- 2>..\..\daemon\nfs41_ops.c(1523,42): message : place parentheses around the '&&' expression to silence this warning
- 2>..\..\daemon\nfs41_rpc.c(40,22): warning : cast from 'bool_t (*)(void)' (aka 'int (*)(void)') to 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, ...)') converts to incompatible function type [-Wcast-function-type-mismatch]
- 2>..\..\libtirpc\tirpc\rpc/clnt.h(203,38): message : expanded from macro 'clnt_call'
- 2>..\..\daemon\nfs41_rpc.c(41,22): warning : cast from 'bool_t (*)(void)' (aka 'int (*)(void)') to 'xdrproc_t' (aka 'int (*)(struct __rpc_xdr *, ...)') converts to incompatible function type [-Wcast-function-type-mismatch]
- 2>..\..\libtirpc\tirpc\rpc/clnt.h(204,10): message : expanded from macro 'clnt_call'
- 2>..\..\daemon\pnfs_io.c(303,12): warning : taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]
- 2>..\..\daemon\pnfs_io.c(303,12): message : remove the call to 'abs' since unsigned values cannot be negative
- 2>..\..\daemon\pnfs_io.c(562,43): warning : variable 'total_written' set but not used [-Wunused-but-set-variable]
- 2>..\..\daemon\pnfs_layout.c(450,13): warning : 108 enumeration values not handled in switch: 'NFS4ERR_PERM', 'NFS4ERR_NOENT', 'NFS4ERR_IO'... [-Wswitch]
- 2>..\..\daemon\readdir.c(702,34): warning : comparison of integers of different signs: 'int' and 'unsigned long long' [-Wsign-compare]
- 2>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\ucrt\stdlib.h(1282,32): message : expanded from macro 'max'
- 2>..\..\daemon\recovery.c(422,56): warning : 'memcpy' call operates on objects of type 'nfs41_delegation_state' (aka 'struct __nfs41_delegation_state') while the size is based on a different type 'nfs41_delegation_state *' (aka 'struct __nfs41_delegation_state *') [-Wsizeof-pointer-memaccess]
- 2>..\..\daemon\recovery.c(422,56): message : did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)?
- 2>..\..\daemon\recovery.c(494,50): warning : missing field 'args' initializer [-Wmissing-field-initializers]
- 2>..\..\daemon\recovery.c(641,50): warning : missing field 'args' initializer [-Wmissing-field-initializers]
- 2>nfsd.vcxproj -> C:\cygwin64\home\roland.mainz\work\msnfs41client\vs22test12\ms-nfs41-client\build.vc19\x64\Debug\nfsd.exe
- 2>Done building project "nfsd.vcxproj".
- ========== Rebuild All: 2 succeeded, 0 failed, 0 skipped ==========
- ========== Rebuild completed at 10:39 and took 35,769 seconds ==========
clang build warnings
Posted by Anonymous on Fri 7th Mar 2025 09:41
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.