linux-alpha build

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Blundell
Fecha:  
A: exim-users
Asunto: linux-alpha build
Here are some warnings I get when building 1.62 on my Alpha under Linux.
If anybody has too much time on their hands they might want to look into
fixing these.

Note that under Linux the socket functions (accept and so on) use a
`size_t' to specify the buffer length, as POSIX requires. This is
significant because an `int' on the Alpha is only 32 bits, whereas
addresses (and hence sizes) are 64-bit quantities (and so passing an int*
to a function that expects a size_t* will potentially result in it
clobbering the next four bytes of memory, which isn't terribly nice).

gcc -o em_TextPop.o -c -O2 -I/usr/X11R6/include -I. -I../exim_monitor \
../exim_monitor/`echo em_TextPop.o | sed 's/o$/c/'`
../exim_monitor/em_TextPop.c: In function `DoSearch':
../exim_monitor/em_TextPop.c:460: warning: cast from pointer to integer of
different size
gcc -o em_main.o -c -O2 -I/usr/X11R6/include -I. -I../exim_monitor \
../exim_monitor/`echo em_main.o | sed 's/o$/c/'`
../exim_monitor/em_main.c: In function `action_hook':
../exim_monitor/em_main.c:455: warning: cast from pointer to integer of
different size
../exim_monitor/em_main.c:455: warning: cast from pointer to integer of
different size
gcc -o em_strip.o -c -O2 -I/usr/X11R6/include -I. -I../exim_monitor \
../exim_monitor/`echo em_strip.o | sed 's/o$/c/'`
../exim_monitor/em_strip.c: In function `stripchartAction':
../exim_monitor/em_strip.c:66: warning: cast from pointer to integer of
different size
../exim_monitor/em_strip.c: In function `create_stripchart':
../exim_monitor/em_strip.c:250: warning: cast to pointer from integer of
different size
gcc -O2 -DDST_NONE -DHAVE_ANSIHEADERS -c ident.c -o ident.o
ident.c: In function `ident_lookup':
ident.c:41: warning: passing arg 3 of `getpeername' from incompatible
pointer type
ident.c:45: warning: passing arg 3 of `getsockname' from incompatible
pointer type
gcc -c -O2 -I. daemon.c
daemon.c: In function `daemon_go':
daemon.c:1039: warning: passing arg 3 of `accept' from incompatible
pointer type
gcc -c -O2 -I. exim.c
exim.c: In function `main':
exim.c:1227: warning: passing arg 3 of `getpeername' from incompatible
pointer type
gcc -c -O2 -I. filter.c
filter.c: In function `interpret_commands':
filter.c:1456: warning: cast from pointer to integer of different size
filter.c:1568: warning: cast from pointer to integer of different size
gcc -c -O2 -I. smtp_in.c
smtp_in.c: In function `smtp_setup_msg':
smtp_in.c:600: warning: passing arg 5 of `getsockopt' from incompatible
pointer type