pastebin - collaborative debugging tool
nrubsig.kpaste.net RSS


clang build warnings
Posted by Anonymous on Fri 7th Mar 2025 09:41
raw | new post

  1. Rebuild started at 10:39...
  2. 1>------ Rebuild All started: Project: libtirpc, Configuration: Debug x64 ------
  3. 1>asprintf.c
  4. 1>authsspi_prot.c
  5. 1>authunix_prot.c
  6. 1>auth_none.c
  7. 1>auth_sspi.c
  8. 1>auth_time.c
  9. 1>auth_unix.c
  10. 1>bindresvport.c
  11. 1>clnt_bcast.c
  12. 1>clnt_dg.c
  13. 1>clnt_generic.c
  14. 1>clnt_perror.c
  15. 1>clnt_raw.c
  16. 1>clnt_simple.c
  17. 1>clnt_vc.c
  18. 1>des_soft.c
  19. 1>epoll_sub.c
  20. 1>getnetconfig.c
  21. 1>getnetpath.c
  22. 1>getpeereid.c
  23. 1>Generating Code...
  24. 1>Compiling...
  25. 1>getpublickey.c
  26. 1>getrpcent.c
  27. 1>getrpcport.c
  28. 1>gettimeofday.c
  29. 1>key_call.c
  30. 1>key_prot_xdr.c
  31. 1>mt_misc.c
  32. 1>netname.c
  33. 1>netnamer.c
  34. 1>pmap_clnt.c
  35. 1>pmap_getmaps.c
  36. 1>pmap_getport.c
  37. 1>pmap_prot.c
  38. 1>pmap_prot2.c
  39. 1>pmap_rmt.c
  40. 1>rpcb_clnt.c
  41. 1>rpcb_prot.c
  42. 1>rpcb_st_xdr.c
  43. 1>rpcdname.c
  44. 1>rpc_callmsg.c
  45. 1>Generating Code...
  46. 1>Compiling...
  47. 1>rpc_commondata.c
  48. 1>rpc_dtablesize.c
  49. 1>rpc_generic.c
  50. 1>rpc_prot.c
  51. 1>rpc_soc.c
  52. 1>rtime.c
  53. 1>svc.c
  54. 1>svc_auth.c
  55. 1>svc_auth_none.c
  56. 1>svc_auth_unix.c
  57. 1>svc_dg.c
  58. 1>svc_generic.c
  59. 1>svc_raw.c
  60. 1>svc_run.c
  61. 1>svc_simple.c
  62. 1>svc_vc.c
  63. 1>winstubs.c
  64. 1>wintirpc.c
  65. 1>xdr.c
  66. 1>xdr_array.c
  67. 1>Generating Code...
  68. 1>Compiling...
  69. 1>xdr_float.c
  70. 1>xdr_mem.c
  71. 1>xdr_rec.c
  72. 1>xdr_reference.c
  73. 1>xdr_sizeof.c
  74. 1>xdr_stdio.c
  75. 1>Generating Code...
  76. 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
  77. 1>libtirpc.vcxproj -> C:\cygwin64\home\roland.mainz\work\msnfs41client\vs22test12\ms-nfs41-client\build.vc19\x64\Debug\libtirpc.dll
  78. 2>------ Rebuild All started: Project: nfsd, Configuration: Debug x64 ------
  79. 2>015d2053-dirty
  80. 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]
  81. 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
  82. 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]
  83. 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]
  84. 2>..\..\daemon\ea.c(362,44): warning : variable 'prev' set but not used [-Wunused-but-set-variable]
  85. 2>..\..\daemon\idmap.c(569,13): warning : performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
  86. 2>..\..\daemon\idmap.c(38,29): message : expanded from macro 'PTR2UINT'
  87. 2>..\..\daemon\util.h(55,61): message : expanded from macro 'PTR2PTRDIFF_T'
  88. 2>..\..\daemon\idmap.c(777,28): warning : performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
  89. 2>..\..\daemon\idmap.c(36,30): message : expanded from macro 'PTR2UID_T'
  90. 2>..\..\daemon\util.h(55,61): message : expanded from macro 'PTR2PTRDIFF_T'
  91. 2>..\..\daemon\idmap.c(891,28): warning : performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
  92. 2>..\..\daemon\idmap.c(37,30): message : expanded from macro 'PTR2GID_T'
  93. 2>..\..\daemon\util.h(55,61): message : expanded from macro 'PTR2PTRDIFF_T'
  94. 2>..\..\daemon\idmap.c(1114,23): warning : performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
  95. 2>..\..\daemon\idmap.c(36,30): message : expanded from macro 'PTR2UID_T'
  96. 2>..\..\daemon\util.h(55,61): message : expanded from macro 'PTR2PTRDIFF_T'
  97. 2>..\..\daemon\idmap.c(1252,23): warning : performing pointer subtraction with a null pointer has undefined behavior [-Wnull-pointer-subtraction]
  98. 2>..\..\daemon\idmap.c(37,30): message : expanded from macro 'PTR2GID_T'
  99. 2>..\..\daemon\util.h(55,61): message : expanded from macro 'PTR2PTRDIFF_T'
  100. 2>..\..\daemon\nfs41_ops.c(1523,42): warning : '&&' within '||' [-Wlogical-op-parentheses]
  101. 2>..\..\daemon\nfs41_ops.c(1523,42): message : place parentheses around the '&&' expression to silence this warning
  102. 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]
  103. 2>..\..\libtirpc\tirpc\rpc/clnt.h(203,38): message : expanded from macro 'clnt_call'
  104. 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]
  105. 2>..\..\libtirpc\tirpc\rpc/clnt.h(204,10): message : expanded from macro 'clnt_call'
  106. 2>..\..\daemon\pnfs_io.c(303,12): warning : taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]
  107. 2>..\..\daemon\pnfs_io.c(303,12): message : remove the call to 'abs' since unsigned values cannot be negative
  108. 2>..\..\daemon\pnfs_io.c(562,43): warning : variable 'total_written' set but not used [-Wunused-but-set-variable]
  109. 2>..\..\daemon\pnfs_layout.c(450,13): warning : 108 enumeration values not handled in switch: 'NFS4ERR_PERM', 'NFS4ERR_NOENT', 'NFS4ERR_IO'... [-Wswitch]
  110. 2>..\..\daemon\readdir.c(702,34): warning : comparison of integers of different signs: 'int' and 'unsigned long long' [-Wsign-compare]
  111. 2>C:\Program Files (x86)\Windows Kits\10\Include\10.0.26100.0\ucrt\stdlib.h(1282,32): message : expanded from macro 'max'
  112. 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]
  113. 2>..\..\daemon\recovery.c(422,56): message : did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)?
  114. 2>..\..\daemon\recovery.c(494,50): warning : missing field 'args' initializer [-Wmissing-field-initializers]
  115. 2>..\..\daemon\recovery.c(641,50): warning : missing field 'args' initializer [-Wmissing-field-initializers]
  116. 2>nfsd.vcxproj -> C:\cygwin64\home\roland.mainz\work\msnfs41client\vs22test12\ms-nfs41-client\build.vc19\x64\Debug\nfsd.exe
  117. 2>Done building project "nfsd.vcxproj".
  118. ========== Rebuild All: 2 succeeded, 0 failed, 0 skipped ==========
  119. ========== Rebuild completed at 10:39 and took 35,769 seconds ==========

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.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at