[FIX][VM][UNIX] misc X11 patches
Ned Konz
ned at bike-nomad.com
Wed Nov 12 20:18:50 UTC 2003
The enclosed patch to platforms/unix/vm-display-X11 is the result of turning
on more warnings during a VM compilation:
- don't undef DEBUG_* flags. This lets you define them in CFLAGS without
having to edit the file.
- don't try to initialize arrays with non-constants
- quiet some type coercion warnings using casts
- change a couple of types
- fixes to fprintf() and sscanf() formats with long args
- remove some unused variables
- add braces to avoid ambiguous if/else
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: miscX11.patch
Type: text/x-diff
Size: 7157 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20031112/c8531a46/miscX11.bin
More information about the Squeak-dev
mailing list
|