Skip to content
Tcl Source Code Artifact [b70942644c]
Login

Artifact [b70942644c]

Artifact b70942644c40d75e6e3dfbdb41c5d32b4478b71a:

Ticket change [b70942644c] - New ticket [218855ffffffffff|218855ffff] <i>warnings with autoconf &amp; --enable-gcc</i>. by nobody on 2000-10-26 01:06:42.
D 2000-10-26T01:06:42
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s2412\sBug\nVersion:\s8.1\nSubmitDate:\s'1999-07-19'\nLastModified:\s'2000-02-01'\nSeverity:\sLOW\nStatus:\sReleased\nSubmitter:\sjenn\nChangedBy:\shobbs\nOS:\sLinux\nOSVersion:\s\s/usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3\nFixedDate:\s'2000-02-01'\nFixedInVersion:\s8.2.3\nClosedDate:\s'2000-10-25'\n\n\nName:\s\sSiegfried\sRekow\n\nCVS:\s\scvs\s-\sSun\sJun\s27\s15:44:24\sEDT\s1999\nOperatingSystem:\s\sLinux\s(Red\sHat\s5.0+\son\sIntel)\n\nReproducibleScript:\n\s\s\s\scd\stcl8.1/unix\s;\sautoconf\s;\s./configure\s--prefix=/home/shell/user/tcl\n\s\s\s\s--exec-prefix=/home/shell/user/tcl\s--disable-shared\s--enable-gcc\s;\smake\n\nObservedBehavior:\n\s\s\s\sautoconf:\n\s\s\s\sconfigure.in:31:\swarning:\sAC_C_CROSS\sis\sobsolete;\sit\shas\sbeen\smerged\n\s\s\s\sinto\sAC_PROG_CC\n\s\s\s\sconfigure.in:397:\swarning:\sAC_TRY_RUN\scalled\swithout\sdefault\sto\sallow\n\s\s\s\scross\scompiling\n\n\s\s\s\smake:\n\s\s\s\sgcc\s-pipe\s-c\s-O\s-D__NO_STRING_INLINES\s-D__NO_MATH_INLINES\s-Wall\n\s\s\s\s-Wconversion\s-fPIC\s-I./../generic\s-I.\s-DHAVE_UNISTD_H=1\n\s\s\s\s-DHAVE_LIMITS_H=1\s-DHAVE_GETCWD=1\s-DHAVE_OPENDIR=1\s-DHAVE_STRSTR=1\n\s\s\s\s-DHAVE_STRTOL=1\s-DHAVE_TMPNAM=1\s-DHAVE_WAITPID=1\s-DHAVE_UNISTD_H=1\n\s\s\s\s-DHAVE_SYS_PARAM_H=1\s-DUSE_TERMIOS=1\s-DHAVE_SYS_TIME_H=1\n\s\s\s\s-DTIME_WITH_SYS_TIME=1\s-DHAVE_TM_ZONE=1\s-DHAVE_TM_GMTOFF=1\n\s\s\s\s-DHAVE_TIMEZONE_VAR=1\s-DHAVE_ST_BLKSIZE=1\s-DSTDC_HEADERS=1\n\s\s\s\s-DNEED_MATHERR=1\s-DRETSIGTYPE=void\s-DHAVE_SIGNED_CHAR=1\n\s\s\s\s-DHAVE_SYS_IOCTL_H=1\s-DSTATIC_BUILD=1\s\s\s\s\s\s\s\s\s-DTCL_SHLIB_EXT=\\".so\\"\n\s\s\s\s./../generic/tclIOSock.c\n\s\s\s\s./../generic/tclIOSock.c:\sIn\sfunction\s`TclSockGetPort':\n\s\s\s\s./../generic/tclIOSock.c:57:\swarning:\spassing\sarg\s1\sof\s`ntohs'\swith\n\s\s\s\sdifferent\swidth\sdue\sto\sprototype\n\s\s\s\s./../generic/tclIOSock.c:\sIn\sfunction\s`TclSockMinimumBuffers':\n\s\s\s\s./../generic/tclIOSock.c:100:\swarning:\spassing\sarg\s5\sof\s`setsockopt'\sas\n\s\s\s\sunsigned\sdue\sto\sprototype\n\s\s\s\s./../generic/tclIOSock.c:106:\swarning:\spassing\sarg\s5\sof\s`setsockopt'\sas\n\s\s\s\sunsigned\sdue\sto\sprototype\n\n\s\s\s\sgcc\s-pipe\s-c\s-O\s-D__NO_STRING_INLINES\s-D__NO_MATH_INLINES\s-Wall\n\s\s\s\s-Wconversion\s-fPIC\s-I./../generic\s-I.\s-DHAVE_UNISTD_H=1\n\s\s\s\s-DHAVE_LIMITS_H=1\s-DHAVE_GETCWD=1\s-DHAVE_OPENDIR=1\s-DHAVE_STRSTR=1\n\s\s\s\s-DHAVE_STRTOL=1\s-DHAVE_TMPNAM=1\s-DHAVE_WAITPID=1\s-DHAVE_UNISTD_H=1\n\s\s\s\s-DHAVE_SYS_PARAM_H=1\s-DUSE_TERMIOS=1\s-DHAVE_SYS_TIME_H=1\n\s\s\s\s-DTIME_WITH_SYS_TIME=1\s-DHAVE_TM_ZONE=1\s-DHAVE_TM_GMTOFF=1\n\s\s\s\s-DHAVE_TIMEZONE_VAR=1\s-DHAVE_ST_BLKSIZE=1\s-DSTDC_HEADERS=1\n\s\s\s\s-DNEED_MATHERR=1\s-DRETSIGTYPE=void\s-DHAVE_SIGNED_CHAR=1\n\s\s\s\s-DHAVE_SYS_IOCTL_H=1\s-DSTATIC_BUILD=1\s\s\s\s\s\s\s\s\s-DTCL_SHLIB_EXT=\\".so\\"\n\s\s\s\s./../unix/tclUnixChan.c\n\s\s\s\s./../unix/tclUnixChan.c:\sIn\sfunction\s`TcpInputProc':\n\s\s\s\s./../unix/tclUnixChan.c:1587:\swarning:\spassing\sarg\s3\sof\s`recv'\sas\n\s\s\s\sunsigned\sdue\sto\sprototype\n\s\s\s\s./../unix/tclUnixChan.c:\sIn\sfunction\s`TcpOutputProc':\n\s\s\s\s./../unix/tclUnixChan.c:1640:\swarning:\spassing\sarg\s3\sof\s`send'\sas\n\s\s\s\sunsigned\sdue\sto\sprototype\n\s\s\s\s./../unix/tclUnixChan.c:\sIn\sfunction\s`TcpGetOptionProc':\n\s\s\s\s./../unix/tclUnixChan.c:1776:\swarning:\spassing\sarg\s1\sof\s`ntohs'\swith\n\s\s\s\sdifferent\swidth\sdue\sto\sprototype\n\s\s\s\s./../unix/tclUnixChan.c:1823:\swarning:\spassing\sarg\s1\sof\s`ntohs'\swith\n\s\s\s\sdifferent\swidth\sdue\sto\sprototype\n\s\s\s\s./../unix/tclUnixChan.c:\sIn\sfunction\s`CreateSocketAddress':\n\s\s\s\s./../unix/tclUnixChan.c:2112:\swarning:\spassing\sarg\s1\sof\s`htons'\swith\n\s\s\s\sdifferent\swidth\sdue\sto\sprototype\n\s\s\s\s./../unix/tclUnixChan.c:\sIn\sfunction\s`TcpAccept':\n\s\s\s\s./../unix/tclUnixChan.c:2373:\swarning:\spassing\sarg\s1\sof\s`ntohs'\swith\n\s\s\s\sdifferent\swidth\sdue\sto\sprototype\n\n\s\s\s\sgcc\s-pipe\s-c\s-O\s-D__NO_STRING_INLINES\s-D__NO_MATH_INLINES\s-Wall\n\s\s\s\s-Wconversion\s-fPIC\s-I./../generic\s-I.\s-DHAVE_UNISTD_H=1\n\s\s\s\s-DHAVE_LIMITS_H=1\s-DHAVE_GETCWD=1\s-DHAVE_OPENDIR=1\s-DHAVE_STRSTR=1\n\s\s\s\s-DHAVE_STRTOL=1\s-DHAVE_TMPNAM=1\s-DHAVE_WAITPID=1\s-DHAVE_UNISTD_H=1\n\s\s\s\s-DHAVE_SYS_PARAM_H=1\s-DUSE_TERMIOS=1\s-DHAVE_SYS_TIME_H=1\n\s\s\s\s-DTIME_WITH_SYS_TIME=1\s-DHAVE_TM_ZONE=1\s-DHAVE_TM_GMTOFF=1\n\s\s\s\s-DHAVE_TIMEZONE_VAR=1\s-DHAVE_ST_BLKSIZE=1\s-DSTDC_HEADERS=1\n\s\s\s\s-DNEED_MATHERR=1\s-DRETSIGTYPE=void\s-DHAVE_SIGNED_CHAR=1\n\s\s\s\s-DHAVE_SYS_IOCTL_H=1\s-DSTATIC_BUILD=1\s\s\s\s\s\s\s\s\s-DTCL_SHLIB_EXT=\\".so\\"\n\s\s\s\s./../unix/tclUnixFCmd.c\n\s\s\s\s./../unix/tclUnixFCmd.c:\sIn\sfunction\s`GetGroupAttribute':\n\s\s\s\s./../unix/tclUnixFCmd.c:1090:\swarning:\spassing\sarg\s1\sof\s`Tcl_NewIntObj'\n\s\s\s\sas\ssigned\sdue\sto\sprototype\n\s\s\s\s./../unix/tclUnixFCmd.c:\sIn\sfunction\s`GetOwnerAttribute':\n\s\s\s\s./../unix/tclUnixFCmd.c:1141:\swarning:\spassing\sarg\s1\sof\s`Tcl_NewIntObj'\n\s\s\s\sas\ssigned\sdue\sto\sprototype\n\s\s\s\s./../unix/tclUnixFCmd.c:\sIn\sfunction\s`GetPermissionsAttribute':\n\s\s\s\s./../unix/tclUnixFCmd.c:1190:\swarning:\slong\sunsigned\sint\sformat,\n\s\s\s\s__mode_t\sarg\s(arg\s3)\n\s\s\s\s./../unix/tclUnixFCmd.c:\sIn\sfunction\s`SetGroupAttribute':\n\s\s\s\s./../unix/tclUnixFCmd.c:1247:\swarning:\spassing\sarg\s2\sof\s`chown'\sas\n\s\s\s\sunsigned\sdue\sto\sprototype\n\s\s\s\s./../unix/tclUnixFCmd.c:1247:\swarning:\snegative\sinteger\simplicitly\n\s\s\s\sconverted\sto\sunsigned\stype\n\s\s\s\s./../unix/tclUnixFCmd.c:\sIn\sfunction\s`SetOwnerAttribute':\n\s\s\s\s./../unix/tclUnixFCmd.c:1308:\swarning:\spassing\sarg\s2\sof\s`chown'\sas\n\s\s\s\sunsigned\sdue\sto\sprototype\n\s\s\s\s./../unix/tclUnixFCmd.c:1308:\swarning:\spassing\sarg\s3\sof\s`chown'\sas\n\s\s\s\sunsigned\sdue\sto\sprototype\n\s\s\s\s./../unix/tclUnixFCmd.c:1308:\swarning:\snegative\sinteger\simplicitly\n\s\s\s\sconverted\sto\sunsigned\stype\n\nDesiredBehavior:\n\s\s\s\sno\swarnings\n\nComments:\n\s\s\s\sno\serrors\swith\scc\s(without\spipe)\n\n\s\s\s\swith\sslack4.0\sand\n\s\s\s\s/usr/local/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.66\s19990314\n\s\s\s\s(egcs-1.1.2\srelease)\sI\sget\sendless\swarnings\susing\s--enable-gcc\sbut\sdon't\swant\sto\ssend\syou\sa\sbook\s:)\n\s\s\s\swant\sto\ssend\syou\sa\sbook\s:)\n\n\n\nThere\sis\snow\sonly\sone\sautoconf\swarning,\sbut\sits\sbehavior\swe\swant,\nso\swe\scan't\sdo\sanything\sabout\sthe\swarning.\s\sThe\swarnings\sgenerated\nby\sgcc\son\sLinux\sare\sall\sbogus\s(not\sproblems),\sbut\shave\salready\sbeen\nsignificantly\sreduced.\s\n--\s02/01/2000\shobbs
J foundin obsolete:\s8.1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 75.\sTutorial
J title warnings\swith\sautoconf\s&\s--enable-gcc
J type Bug
K 218855ffffffffffffffffffffffffffffffffff
U nobody
Z 2670db5da00b4b08a2f4ee3fb9533e6c