|
2009-12-26
| ||
| 09:20 | • Closed ticket [2504476fff]: assignment type mismatch warning during cvs head com... artifact: 5db4e25d43 user: sf-robot | |
|
2009-12-11
| ||
| 10:32 | • Pending ticket [2504476fff]. artifact: 71e574576a user: msofer | |
|
2009-01-14
| ||
| 03:23 | • Ticket [2504476fff]: 4 changes artifact: 9b9abc8dc1 user: dkf | |
| 00:12 | • Ticket [2504476fff]: 6 changes artifact: a9a0cead09 user: dgp | |
|
2009-01-13
| ||
| 12:51 | • New ticket [2504476fff]. artifact: 447bd6303d user: lvirden | |
assignment type mismatch warning during cvs head compile
Closed2504476fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 17 years ago
Descriptionplain2009-01-13 12:51:01
platform: sparc solaris 2.6, sun c compiler
tcl 8.6 cvs head
snapshot from Jan 12, 2009
After configuring using
$ ./configure --prefix=/projects/sprs_lwv/tcl86 --enable-shared --enable-symbols --enable-stubs
and beginning the compile, I see these warnings:
/opt/SUNWspro/bin/cc -c -g -KPIC -I"." -I/vol/tclsrcsol/tcl86/tcl/unix -I/vol
/tclsrcsol/tcl86/tcl/generic -I/vol/tclsrcsol/tcl86/tcl/libtommath -DPACKAGE_NAM
E=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\
"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAV
E_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRI
NGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM
_H=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1 -D_REENTRANT=1 -D_POSIX_P
THREAD_SEMANTICS=1 -DTCL_SHLIB_EXT=\".so\" -DTCL_CFG_DEBUG=1 -DTCL_TOMMATH=1 -DM
P_PREC=4 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_DIRENT64=1 -DHAVE_STRUCT_S
TAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DWORDS_BIGENDIAN
=1 -DHAVE_GETCWD=1 -DHAVE_MKSTEMP=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAIT
PID=1 -DHAVE_GETADDRINFO=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_T
IME=1 -DHAVE_TZNAME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DH
AVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_IN
TPTR_T=1 -DHAVE_UINTPTR_T=1 -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGIN
FO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 /vol/tc
lsrcsol/tcl86/tcl/generic/tclBasic.c
"/vol/tclsrcsol/tcl86/tcl/generic/tclBasic.c", line 4286: warning: assignment ty
pe mismatch:
pointer to function(pointer to void, pointer to struct Tcl_Interp {point
er to char unused3, pointer to function(..) returning void unused4, int unused5}
, int, pointer to const pointer to struct Tcl_Obj {int refCount, pointer to char
bytes, int length, pointer to const struct Tcl_ObjType {..} typePtr, union {..
} internalRep}) returning int "=" pointer to void
/opt/SUNWspro/bin/cc -c -g -KPIC -I"." -I/vol/tclsrcsol/tcl86/tcl/unix -I/vol
/tclsrcsol/tcl86/tcl/generic -I/vol/tclsrcsol/tcl86/tcl/libtommath -DPACKAGE_NAM
E=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\
"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAV
E_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRI
NGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM
_H=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1 -D_REENTRANT=1 -D_POSIX_P
THREAD_SEMANTICS=1 -DTCL_SHLIB_EXT=\".so\" -DTCL_CFG_DEBUG=1 -DTCL_TOMMATH=1 -DM
P_PREC=4 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_DIRENT64=1 -DHAVE_STRUCT_S
TAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DWORDS_BIGENDIAN
=1 -DHAVE_GETCWD=1 -DHAVE_MKSTEMP=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAIT
PID=1 -DHAVE_GETADDRINFO=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_T
IME=1 -DHAVE_TZNAME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DH
AVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_IN
TPTR_T=1 -DHAVE_UINTPTR_T=1 -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGIN
FO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1 /vol/tc
lsrcsol/tcl86/tcl/generic/tclProc.c
"/vol/tclsrcsol/tcl86/tcl/generic/tclProc.c", line 1809: warning: assignment typ
e mismatch:
pointer to function(pointer to struct Tcl_Interp {pointer to char unused
3, pointer to function(..) returning void unused4, int unused5}, pointer to stru
ct Tcl_Obj {int refCount, pointer to char bytes, int length, pointer to const st
ruct Tcl_ObjType {..} typePtr, union {..} internalRep}) returning void "=" poin
ter to void
dgpplain2009-01-14 00:12:50
NRE pointer casting? May have to blame an underpowered compiler for this one.
dkfplain2009-01-14 03:23:27
Complaint is about implicit conversions between pointer-to-data and pointer-to-function. Apparently, you're not allowed to assume that according to the C standard. Even though Tcl will categorically not build on platforms where it isn't true.
msofer Pending ticket [2504476fff].
[History diff]2009-12-11 10:32:15
sf-robotplain2009-12-26 09:20:33
allow_comments - 1 This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.