Posted to tcl by hypnotoad at Thu Apr 04 17:17:39 GMT 2019view raw

  1. *** /Users/seandeelywoods/build/irm-stable/build-odie/pkg/udp ***
  2. make all
  3. gcc -DPACKAGE_NAME=\"udp\" -DPACKAGE_TARNAME=\"udp\" -DPACKAGE_VERSION=\"1.0.10\" -DPACKAGE_STRING=\"udp\ 1.0.10\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_udp=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DSTATIC_BUILD=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_FCNTL_H=1 -DHAVE_FLAG_FD_CLOEXEC=1 -DHAVE_STRERROR -I"/Users/seandeelywoods/build/irm-stable/tcl/generic" -pipe -Os -DNDEBUG -Wall -c `echo /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c` -o udp_tcl.o
  4. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:190:43: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)'
  5. (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)')
  6. [-Wincompatible-pointer-types]
  7. Tcl_CreateCommand(interp, "udp_open", udpOpen ,
  8. ^~~~~~~
  9. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:192:43: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)'
  10. (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)')
  11. [-Wincompatible-pointer-types]
  12. Tcl_CreateCommand(interp, "udp_conf", udpConf ,
  13. ^~~~~~~
  14. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:194:43: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)'
  15. (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)')
  16. [-Wincompatible-pointer-types]
  17. Tcl_CreateCommand(interp, "udp_peek", udpPeek ,
  18. ^~~~~~~
  19. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1000:1: error: conflicting types for 'udpOutput'
  20. udpOutput(ClientData instanceData, CONST84 char *buf, int toWrite, int *errorCode)
  21. ^
  22. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:94:32: note: previous declaration is here
  23. static Tcl_DriverOutputProc udpOutput;
  24. ^
  25. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1401:1: error: conflicting types for 'udpGetOption'
  26. udpGetOption(ClientData instanceData, Tcl_Interp *interp,
  27. ^
  28. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:100:32: note: previous declaration is here
  29. static Tcl_DriverGetOptionProc udpGetOption;
  30. ^
  31. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1413:10: warning: assigning to 'const char **' from 'char *[8]' discards qualifiers in nested pointer types
  32. [-Wincompatible-pointer-types-discards-qualifiers]
  33. for (p = options; *p != NULL; p++) {
  34. ^ ~~~~~~~
  35. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1436:27: warning: address of array 'statePtr->remotehost' will always evaluate to 'true' [-Wpointer-bool-conversion]
  36. if (statePtr->remotehost && *statePtr->remotehost) {
  37. ~~~~~~~~~~^~~~~~~~~~ ~~
  38. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1446:26: warning: address of array 'statePtr->peerhost' will always evaluate to 'true' [-Wpointer-bool-conversion]
  39. if (statePtr->peerhost && *statePtr->peerhost) {
  40. ~~~~~~~~~~^~~~~~~~ ~~
  41. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1513:1: error: conflicting types for 'udpSetOption'
  42. udpSetOption(ClientData instanceData, Tcl_Interp *interp,
  43. ^
  44. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:99:32: note: previous declaration is here
  45. static Tcl_DriverSetOptionProc udpSetOption;
  46. ^
  47. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1521:42: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers
  48. [-Wincompatible-pointer-types-discards-qualifiers]
  49. r = udpSetRemoteOption(statePtr,interp,(const char *)newValue);
  50. ^~~~~~~~~~~~~~~~~~~~~~
  51. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:121:85: note: passing argument to parameter 'newValue' here
  52. static int udpSetRemoteOption(UdpState* statePtr, Tcl_Interp *interp, CONST84 char *newValue);
  53. ^
  54. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1524:47: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers
  55. [-Wincompatible-pointer-types-discards-qualifiers]
  56. r = udpSetMulticastIFOption(statePtr,interp,(const char *)newValue);
  57. ^~~~~~~~~~~~~~~~~~~~~~
  58. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:122:90: note: passing argument to parameter 'newValue' here
  59. static int udpSetMulticastIFOption(UdpState* statePtr, Tcl_Interp *interp, CONST84 char *newValue);
  60. ^
  61. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1527:50: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers
  62. [-Wincompatible-pointer-types-discards-qualifiers]
  63. r = udpSetMulticastAddOption(statePtr, interp, (const char *)newValue);
  64. ^~~~~~~~~~~~~~~~~~~~~~
  65. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:123:91: note: passing argument to parameter 'newValue' here
  66. static int udpSetMulticastAddOption(UdpState* statePtr, Tcl_Interp *interp, CONST84 char *newValue);
  67. ^
  68. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1529:51: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers
  69. [-Wincompatible-pointer-types-discards-qualifiers]
  70. r = udpSetMulticastDropOption(statePtr, interp, (const char *)newValue);
  71. ^~~~~~~~~~~~~~~~~~~~~~
  72. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:124:92: note: passing argument to parameter 'newValue' here
  73. static int udpSetMulticastDropOption(UdpState* statePtr, Tcl_Interp *interp, CONST84 char *newValue);
  74. ^
  75. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1531:47: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers
  76. [-Wincompatible-pointer-types-discards-qualifiers]
  77. r = udpSetBroadcastOption(statePtr, interp, (const char*) newValue);
  78. ^~~~~~~~~~~~~~~~~~~~~~
  79. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:125:88: note: passing argument to parameter 'newValue' here
  80. static int udpSetBroadcastOption(UdpState* statePtr, Tcl_Interp *interp, CONST84 char *newValue);
  81. ^
  82. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1533:47: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers
  83. [-Wincompatible-pointer-types-discards-qualifiers]
  84. r = udpSetMcastloopOption(statePtr, interp, (const char*) newValue);
  85. ^~~~~~~~~~~~~~~~~~~~~~
  86. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:127:88: note: passing argument to parameter 'newValue' here
  87. static int udpSetMcastloopOption(UdpState* statePtr, Tcl_Interp *interp, CONST84 char *newValue);
  88. ^
  89. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1535:41: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers
  90. [-Wincompatible-pointer-types-discards-qualifiers]
  91. r = udpSetTtlOption(statePtr, interp, (const char*) newValue);
  92. ^~~~~~~~~~~~~~~~~~~~~~
  93. /Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:129:82: note: passing argument to parameter 'newValue' here
  94. static int udpSetTtlOption(UdpState* statePtr, Tcl_Interp *interp, CONST84 char *newValue);
  95. ^
  96.