When compiling mutt 1.3.22.1 with gcc 3.0 under Linux 2.2.17 (i686):

*** 1 ***

init.c: In function `mutt_init':
init.c:1809: warning: implicit declaration of function `getsid'

I think the code that determines if getsid is present or not is broken.

*** 2 ***

mh.c:104: warning: `mhs_unset' defined but not used

Shouldn't this function (defined as static) be removed?

*** 3 ***

pop_lib.c: In function `pop_open_connection':
pop_lib.c:269: warning: int format, size_t arg (arg 4)

about the line

  sscanf (buf, "+OK %d %d", &ret, &pop_data->size);

I think that if size_t doesn't have the same size as int, this won't
work! Under ISO C99, we should have

  sscanf (buf, "+OK %d %zd", &ret, &pop_data->size);

but this won't work with some old compilers.

*** 4 ***

extlib.c: In function `mutt_exit':
extlib.c:36: warning: implicit declaration of function `exit'

Shouldn't <stdlib.h> be #included?

*** 5 ***

And with .c files including keymap.h:

keymap.h:83: warning: array type has incomplete element type

I don't know if this is important or not...

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA

Reply via email to