[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ignore warnings during compilation of CLISP 1996-07-22 (Sun Solaris 2.4)?



Hello,

I just have compiled CLISP 1996-07-22 on Sun Solaris 2.4 and the resulting clisp
has passed the "make test" and "make testsuite" installation steps without any
problems. However, during compilation, I have gotten lots of warning messages
like the following:

  gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -O2 -DUNIX_BINARY_DISTRIB -DDYNAMIC_FFI -c eval.c
  In file included from eval.d:4:
  lispbibl.d:6152: warning: volatile register variables don't work as you might wish
  In file included from eval.d:4:
  lispbibl.d:8167: warning: call-clobbered register used for global register variable
  eval.d: In function `invoke_handlers':
  eval.d:675: warning: variable `other_ranges' might be clobbered by `longjmp' or `vfork'
  eval.d:678: warning: variable `FRAME' might be clobbered by `longjmp' or `vfork'
  eval.d:691: warning: variable `i' might be clobbered by `longjmp' or `vfork'
     .
     .
     .
  gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -O2 -DUNIX_BINARY_DISTRIB -DDYNAMIC_FFI -Ireadline -c stream.c
  In file included from stream.d:5:
  lispbibl.d:6152: warning: volatile register variables don't work as you might wish
  In file included from stream.d:5:
  lispbibl.d:8167: warning: call-clobbered register used for global register variable
  stream.d: In function `make_file_stream':
  stream.d:8615: warning: `art' might be used uninitialized in this function
  gcc -O -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -O2 -DUNIX_BINARY_DISTRIB -DDYNAMIC_FFI -c socket.c
  socket.d: In function `connect_to_x_server':
  socket.d:319: warning: passing arg 4 of `setsockopt' from incompatible pointer type
  socket.d: In function `socket_getpeername':
  socket.d:514: warning: passing arg 1 of `gethostbyaddr' from incompatible pointer type

Can I simply ignore these warnings, knowing that my compiled clisp has passed
the tests?

Is there a way to avoid these warnings?

Thank you in advance.


	Andreas