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

*** /Users/seandeelywoods/build/irm-stable/build-odie/pkg/udp ***
make all
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
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:190:43: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)'
      (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)')
      [-Wincompatible-pointer-types]
    Tcl_CreateCommand(interp, "udp_open", udpOpen , 
                                          ^~~~~~~
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:192:43: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)'
      (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)')
      [-Wincompatible-pointer-types]
    Tcl_CreateCommand(interp, "udp_conf", udpConf , 
                                          ^~~~~~~
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:194:43: warning: incompatible pointer types passing 'int (ClientData, Tcl_Interp *, int, char **)'
      (aka 'int (void *, struct Tcl_Interp *, int, char **)') to parameter of type 'Tcl_CmdProc *' (aka 'int (*)(void *, struct Tcl_Interp *, int, const char **)')
      [-Wincompatible-pointer-types]
    Tcl_CreateCommand(interp, "udp_peek", udpPeek , 
                                          ^~~~~~~
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1000:1: error: conflicting types for 'udpOutput'
udpOutput(ClientData instanceData, CONST84 char *buf, int toWrite, int *errorCode)
^
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:94:32: note: previous declaration is here
static Tcl_DriverOutputProc    udpOutput;
                               ^
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1401:1: error: conflicting types for 'udpGetOption'
udpGetOption(ClientData instanceData, Tcl_Interp *interp,
^
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:100:32: note: previous declaration is here
static Tcl_DriverGetOptionProc udpGetOption;
                               ^
/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
      [-Wincompatible-pointer-types-discards-qualifiers]
                for (p = options; *p != NULL; p++) {
                       ^ ~~~~~~~
/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]
            if (statePtr->remotehost && *statePtr->remotehost) {
                ~~~~~~~~~~^~~~~~~~~~ ~~
/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]
           if (statePtr->peerhost && *statePtr->peerhost) {
               ~~~~~~~~~~^~~~~~~~ ~~
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1513:1: error: conflicting types for 'udpSetOption'
udpSetOption(ClientData instanceData, Tcl_Interp *interp,
^
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:99:32: note: previous declaration is here
static Tcl_DriverSetOptionProc udpSetOption;
                               ^
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1521:42: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers
      [-Wincompatible-pointer-types-discards-qualifiers]
                r = udpSetRemoteOption(statePtr,interp,(const char *)newValue);
                                                       ^~~~~~~~~~~~~~~~~~~~~~
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:121:85: note: passing argument to parameter 'newValue' here
static int udpSetRemoteOption(UdpState* statePtr, Tcl_Interp *interp, CONST84 char *newValue);
                                                                                    ^
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1524:47: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers
      [-Wincompatible-pointer-types-discards-qualifiers]
                r = udpSetMulticastIFOption(statePtr,interp,(const char *)newValue);
                                                            ^~~~~~~~~~~~~~~~~~~~~~
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:122:90: note: passing argument to parameter 'newValue' here
static int udpSetMulticastIFOption(UdpState* statePtr, Tcl_Interp *interp, CONST84 char *newValue);
                                                                                         ^
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1527:50: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers
      [-Wincompatible-pointer-types-discards-qualifiers]
                r = udpSetMulticastAddOption(statePtr, interp, (const char *)newValue);         
                                                               ^~~~~~~~~~~~~~~~~~~~~~
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:123:91: note: passing argument to parameter 'newValue' here
static int udpSetMulticastAddOption(UdpState* statePtr, Tcl_Interp *interp, CONST84 char *newValue);
                                                                                          ^
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1529:51: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers
      [-Wincompatible-pointer-types-discards-qualifiers]
                r = udpSetMulticastDropOption(statePtr, interp, (const char *)newValue);                                
                                                                ^~~~~~~~~~~~~~~~~~~~~~
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:124:92: note: passing argument to parameter 'newValue' here
static int udpSetMulticastDropOption(UdpState* statePtr, Tcl_Interp *interp, CONST84 char *newValue);
                                                                                           ^
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1531:47: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers
      [-Wincompatible-pointer-types-discards-qualifiers]
                r = udpSetBroadcastOption(statePtr, interp, (const char*) newValue);            
                                                            ^~~~~~~~~~~~~~~~~~~~~~
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:125:88: note: passing argument to parameter 'newValue' here
static int udpSetBroadcastOption(UdpState* statePtr, Tcl_Interp *interp, CONST84 char *newValue);
                                                                                       ^
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1533:47: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers
      [-Wincompatible-pointer-types-discards-qualifiers]
                r = udpSetMcastloopOption(statePtr, interp, (const char*) newValue);
                                                            ^~~~~~~~~~~~~~~~~~~~~~
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:127:88: note: passing argument to parameter 'newValue' here
static int udpSetMcastloopOption(UdpState* statePtr, Tcl_Interp *interp, CONST84 char *newValue);
                                                                                       ^
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:1535:41: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers
      [-Wincompatible-pointer-types-discards-qualifiers]
                r = udpSetTtlOption(statePtr, interp, (const char*) newValue);          
                                                      ^~~~~~~~~~~~~~~~~~~~~~
/Users/seandeelywoods/build/irm-stable/udp/generic/udp_tcl.c:129:82: note: passing argument to parameter 'newValue' here
static int udpSetTtlOption(UdpState* statePtr, Tcl_Interp *interp, CONST84 char *newValue);
                                                                                 ^