Overview
| Artifact ID: | db11971f8de63551ec2d3a9ff3335ec218ce6b2b |
|---|---|
| Ticket: | 1516450fffffffffffffffffffffffffffffffff
Compiler warnings building on x86_64 |
| User & Date: | mic42 on 2006-07-03 16:49:50 |
Changes
- assignee changed to: "vasiljevic"
- cmimetype changed to: "text/plain"
- comment changed to:
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]))); */ ... - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "mic42"
- subsystem changed to: "80. Thread Package"
- title changed to: "Compiler warnings building on x86_64"
- type changed to: "Bug"