[Dovecot] gcc 2.95 compile errors

Chris Wakelin c.d.wakelin at reading.ac.uk
Fri Jan 27 18:00:32 EET 2006


Timo,

This is what I get when I compile 1.0-beta2 with gcc 2.95.

It looks like I can then open my problem mbox even without your
mbox-sync patch.

It turns out I'd been using gcc 3.2.2 inadvertently, probably via some
sort of shell bug - I'd accidentally set an environment variable called
"PATH=/opt/RDGgcc3/bin:/usr/bin ..." and I guess some script had
mistaken it for the real PATH environment variable (which didn't include
the gcc3 location).

Should I be worried?

Chris

ostream-file.c: In function `o_stream_writev':
ostream-file.c:126: warning: `ret' might be used uninitialized in this
function
ostream-file.c: In function `_send_istream':
ostream-file.c:671: warning: assignment from incompatible pointer type
mail-cache.c: In function `mail_cache_lock':
mail-cache.c:374: warning: `ret' might be used uninitialized in this
function
mail-index-transaction.c: In function `mail_index_update_header_ext':
mail-index-transaction.c:710: warning: unused parameter `t'
mail-index-transaction.c:711: warning: unused parameter `ext_id'
mail-index-transaction.c:711: warning: unused parameter `offset'
mail-index-transaction.c:712: warning: unused parameter `data'
mail-index-transaction.c:712: warning: unused parameter `size'
maildir-storage.c:891: warning: missing initializer
maildir-storage.c:891: warning: (near initialization for
`maildir_storage.pool')
maildir-storage.c:926: warning: missing initializer
maildir-storage.c:926: warning: (near initialization for
`maildir_mailbox.pool')
mbox-sync.c: In function `mbox_sync_seek_to_uid':
mbox-sync.c:921: warning: assignment from incompatible pointer type
mbox-sync.c: In function `mbox_sync_handle_eof_updates':
mbox-sync.c:1228: warning: assignment from incompatible pointer type
mbox-sync.c:1287: warning: assignment from incompatible pointer type
mbox-sync.c: In function `mbox_sync_update_index_header':
mbox-sync.c:1330: warning: assignment from incompatible pointer type
mbox-sync.c: In function `mbox_sync_do':
mbox-sync.c:1418: warning: assignment from incompatible pointer type
mbox-sync.c: In function `mbox_sync_has_changed':
mbox-sync.c:1496: warning: assignment from incompatible pointer type
mbox-storage.c:1045: warning: missing initializer
mbox-storage.c:1045: warning: (near initialization for `mbox_storage.pool')
mbox-storage.c:1080: warning: missing initializer
mbox-storage.c:1080: warning: (near initialization for `mbox_mailbox.pool')
dbox-storage.c:630: warning: missing initializer
dbox-storage.c:630: warning: (near initialization for `dbox_storage.pool')
dbox-storage.c:665: warning: missing initializer
dbox-storage.c:665: warning: (near initialization for `dbox_mailbox.pool')
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-server-connection.c: In function `auth_server_connection_new':
auth-server-connection.c:200: warning: `fd' might be used uninitialized
in this function
auth-master-connection.c: In function `master_input_die':
auth-master-connection.c:145: warning: unused parameter `conn'
main.c: In function `create_unix_listener':
main.c:101: warning: `fd' might be used uninitialized in this function
dict-process.c:96: warning: `dict_process_listen' defined but not used
master-settings.c:360: warning: missing initializer
master-settings.c:360: warning: (near initialization for
`default_settings.listen_ip')
quota-storage.c: In function `quota_save_init':
quota-storage.c:165: warning: assignment from incompatible pointer type

-- 
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin,                           c.d.wakelin at 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


More information about the dovecot mailing list