From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jay K Newsgroups: gmane.lisp.guile.bugs Subject: isinf and type-pun warning/error on OSF guile 1.8.7 Date: Wed, 9 Jun 2010 15:43:49 +0000 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1276098245 1456 80.91.229.12 (9 Jun 2010 15:44:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Jun 2010 15:44:05 +0000 (UTC) To: Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Jun 09 17:44:04 2010 connect(): No such file or directory Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OMNRi-0007Kb-2v for guile-bugs@m.gmane.org; Wed, 09 Jun 2010 17:44:02 +0200 Original-Received: from localhost ([127.0.0.1]:60100 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMNRh-00032Z-BM for guile-bugs@m.gmane.org; Wed, 09 Jun 2010 11:44:01 -0400 Original-Received: from [140.186.70.92] (port=41849 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMNRY-0002zv-JU for bug-guile@gnu.org; Wed, 09 Jun 2010 11:43:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMNRX-0003Q4-Is for bug-guile@gnu.org; Wed, 09 Jun 2010 11:43:52 -0400 Original-Received: from col0-omc3-s5.col0.hotmail.com ([65.55.34.143]:11535) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMNRX-0003Pw-FJ for bug-guile@gnu.org; Wed, 09 Jun 2010 11:43:51 -0400 Original-Received: from COL101-W62 ([65.55.34.137]) by col0-omc3-s5.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 9 Jun 2010 08:43:49 -0700 X-Originating-IP: [71.112.27.90] Importance: Normal X-OriginalArrivalTime: 09 Jun 2010 15:43:49.0730 (UTC) FILETIME=[8E0F4C20:01CB07EA] X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP4, XP SP1+ X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4629 Archived-At: libtool: compile:=A0 gcc -DHAVE_CONFIG_H -I.. -I/home/jayk/src/guile-1.8.7 = -I.. -mieee -mieee -D_REENTRANT -pthread -g -O2 -Wall -Wmissing-prototypes = -Werror -MT libguile_la-numbers.lo -MD -MP -MF .deps/libguile_la-numbers.Tp= o -c /home/jayk/src/guile-1.8.7/libguile/numbers.c=A0 -DPIC -o .libs/libgui= le_la-numbers.o cc1: warnings being treated as errors /home/jayk/src/guile-1.8.7/libguile/numbers.c: In function 'xisinf': /home/jayk/src/guile-1.8.7/libguile/numbers.c:144: error: implicit declarat= ion of function 'isinf' /home/jayk/src/guile-1.8.7/libguile/numbers.c: In function 'guile_ieee_init= ': /home/jayk/src/guile-1.8.7/libguile/numbers.c:623: error: dereferencing typ= e-punned pointer will break strict-aliasing rules /home/jayk/src/guile-1.8.7/libguile/numbers.c:654: error: dereferencing typ= e-punned pointer will break strict-aliasing rules make[3]: *** [libguile_la-numbers.lo] Error 1 make[3]: Leaving directory `/home/jayk/obj/guile/libguile' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/jayk/obj/guile/libguile' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/jayk/obj/guile' make: *** [all] Error 2 bash-4.1$=20 I hacked these bogusly to fix. Put "0 &&" on the first #if and removed -Werror from libguile/Makefile for = the second. I couldn't find isinf in any header.=20 =A0 Oops=2C I guess I should have just removed -Wmissing-prototypes. I'll t= ry that. I recall seeing the same problem on Irix=2C where autoconf does a link chec= k and compiles without -Wmissing-prototype so it passes=2C because the functi= on does exist somewhere. Autoconf checks need to more closely resemble how later compilation will occur. It is *possible* I changed gcc from 4.5.0 to 4.3.5 while this was compiling= =2C but I don't think so. Same thing in make check: /home/jayk/src/guile-1.8.7/test-suite/standalone/test-conversion.c:859: err= or: dereferencing type-punned pointer will break strict-aliasing rules make[4]: *** [test_conversion-test-conversion.o] Error 1 I will try ftp://alpha.gnu.org/gnu/guile/guile-1.9.11.tar.gz. =A0- Jay =