|
2012-05-02
| ||
| 02:29 | • New ticket [3522894fff] Solaris build fails: TclBN_mp_init_set_int not found... artifact: e9cba4d151 user: markatc | |
|
2006-08-06
| ||
| 17:40 | • Closed ticket [1516450fff]: Compiler warnings building on x86_64 plus 7 othe... artifact: 5ecab8e493 user: vasiljevic | |
|
2006-07-03
| ||
| 16:49 | • New ticket [1516450fff]. artifact: db11971f8d user: mic42 | |
Compiler warnings building on x86_64
Closed / Fixed1516450fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2006-07-03 16:49:50
Building on a SUSE 10.1 against Tcl 8.5 (cvs) i get
compiler warnings for some code:
./generic/threadSvCmd.c: In function
‘SvAllocateContainers’:
./generic/threadSvCmd.c:881: warning: cast from pointer
to integer of different size
./generic/threadSvCmd.c:881: warning: cast from pointer
to integer of different size
dkf suggested this as a fix in the chat (and it
silences the warning):
static void
SvAllocateContainers(bucketPtr)
Bucket *bucketPtr;
{
Container tmp[2];
size_t objSizePlusPadding =
(size_t)(((char*)(tmp+1))-(char*)tmp);
/*
size_t objSizePlusPadding =
((int)(&(tmp[1]))-(int)(&(tmp[0])));
*/
...
vasiljevicplain2006-08-06 17:40:28
Logged In: YES user_id=95086 Updated in CVS. Thanks.
Log in (anonymous is fine) to add a comment.