Oops, looks like I missed one (this time I was trying gcc 2.95, which is the version "shipped" with Solaris 8)
mail-index-sync.c: In function `mail_index_sync_next': mail-index-sync.c:587: warning: comparison is always false due to limited range of data type
The others are now fine.
Here's all the errors (I did "make > make.log", so this is what came on stderr)
mail-index-transaction.c: In function mail_index_update_header_ext': mail-index-transaction.c:695: warning: unused parameter
t'
mail-index-transaction.c:696: warning: unused parameter ext_id' mail-index-transaction.c:696: warning: unused parameter
offset'
mail-index-transaction.c:697: warning: unused parameter data' mail-index-transaction.c:697: warning: unused parameter
size'
mail-index-sync.c: In function mail_index_sync_next': mail-index-sync.c:587: warning: comparison is always false due to limited range of data type dbox-transaction.c: In function
dbox_transaction_commit':
dbox-transaction.c:20: warning: unused parameter flags' dbox-transaction.c: In function
dbox_transaction_rollback':
dbox-transaction.c:77: warning: unused variable dbox' auth-master-connection.c: In function
master_input_die':
auth-master-connection.c:145: warning: unused parameter `conn'
Best Wishes, Chris
Timo Sirainen wrote:
On Sat, 2006-01-14 at 14:21 +0000, Chris Wakelin wrote:
Timo,
I've noticed a couple of extra compilation errors in last night's snapshot compared to the snapshot I downloaded on Tuesday, probably due to the int -> bool change :- (gcc 3.3.2 on Solaris 8)
Looks like gcc 4.0 has gotten worse with detecting these. Fixed all of them.
-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin@reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094