[w3m-dev-en 00119] configure and ccc on alpha-linux

From: w3m-dev-en@mips.rhein-neckar.de
Date: Sat Apr 08 2000 - 10:36:03 CDT


The configure test to determine the type of the signal handler
fails with ccc on alpha-linux if a higher warning level is enabled,
because a warning is then always generated for an independent issue.

Does this fix break anywhere?

--- configure.old Sat Apr 8 17:26:13 2000
+++ configure Sat Apr 8 17:26:25 2000
@@ -67,7 +67,7 @@
   else
     echo "$1 _handler($2 x) {}" >> _zmachdep.c
   fi
- echo "int main() { $1 (*hdl)($2); hdl = signal(SIGINT,_handler); return 0; }" >> _zmachdep.c
+ echo "int main(void) { $1 (*hdl)($2); hdl = signal(SIGINT,_handler); return 0; }" >> _zmachdep.c
   $cc $cflags -o _zmachdep _zmachdep.c > _zwarning 2>&1
   stat=$?
   warning=`cat _zwarning`

-- 
Christian "naddy" Weisgerber                  naddy@mips.rhein-neckar.de



This archive was generated by hypermail 2b29 : Wed Jul 19 2000 - 10:30:43 CDT