- 2>..\..\daemon\acl.c(1210,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\daemon_debug.c(38,12): warning : 'extern' variable has an initializer [-Wextern-initializer]
- 2>..\..\daemon\delegation.c(302,17): warning : using the result of an assignment as a condition without parentheses [-Wparentheses]
- 2>..\..\daemon\delegation.c(302,17): message : place parentheses around the assignment to silence this warning
- 2>..\..\daemon\delegation.c(302,17): message : use '==' to turn this assignment into an equality comparison
- 2>..\..\daemon\ea.c(353,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(54,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(54,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(54,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(54,61): message : expanded from macro 'PTR2PTRDIFF_T'
- 2>..\..\daemon\idmap.c(1136,20): warning : arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wgnu-null-pointer-arithmetic]
- 2>..\..\daemon\idmap.c(39,23): message : expanded from macro 'UID_T2PTR'
- 2>..\..\daemon\util.h(55,48): message : expanded from macro 'PTRDIFF_T2PTR'
- 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(54,61): message : expanded from macro 'PTR2PTRDIFF_T'
- 2>..\..\daemon\idmap.c(1274,20): warning : arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Wgnu-null-pointer-arithmetic]
- 2>..\..\daemon\idmap.c(40,23): message : expanded from macro 'GID_T2PTR'
- 2>..\..\daemon\util.h(55,48): message : expanded from macro 'PTRDIFF_T2PTR'
- 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(692,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>..\..\daemon\service.c(75,1): warning : return type of 'main' is not 'int' [-Wmain-return-type]
- 2>..\..\daemon\service.c(324,22): warning : passing 'LPTSTR[2]' (aka 'unsigned short *[2]') to parameter of type 'LPCWSTR *' (aka 'const unsigned short **') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
- 2>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\um\winbase.h(6816,42): message : passing argument to parameter 'lpStrings' here
- 2>..\..\daemon\symlink.c(201,45): warning : passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
- 2>..\..\daemon\util.h(61,69): message : passing argument to parameter 'out_name' here
- 2>nfsd.vcxproj -> C:\cygwin64\home\roland.mainz\work\msnfs41client\vs22test10\ms-nfs41-client\build.vc19\x64\Release\nfsd.exe
- 2>Done building project "nfsd.vcxproj".
clang errors
Posted by Anonymous on Fri 31st Jan 2025 12:09
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.