From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludovic.courtes@laas.fr (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: guile-1.8.0 on HP-UX 11.23/IA-64 Date: Thu, 06 Jul 2006 10:44:24 +0200 Organization: LAAS-CNRS Message-ID: <87psgjunpz.fsf@laas.fr> References: <20060705214036.GD93949@mail1.thewrittenword.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1152175510 3614 80.91.229.2 (6 Jul 2006 08:45:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Jul 2006 08:45:10 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Jul 06 10:45:08 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FyPTm-0003An-Tg for guile-devel@m.gmane.org; Thu, 06 Jul 2006 10:44:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FyPTm-0003tR-Cr for guile-devel@m.gmane.org; Thu, 06 Jul 2006 04:44:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FyPTf-0003tM-Vv for guile-devel@gnu.org; Thu, 06 Jul 2006 04:44:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FyPTf-0003tA-0W for guile-devel@gnu.org; Thu, 06 Jul 2006 04:44:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FyPTe-0003t7-IM for guile-devel@gnu.org; Thu, 06 Jul 2006 04:44:50 -0400 Original-Received: from [140.93.0.15] (helo=laas.laas.fr) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FyPTn-0003o9-Ly for guile-devel@gnu.org; Thu, 06 Jul 2006 04:44:59 -0400 Original-Received: by laas.laas.fr (8.13.7/8.13.4) with SMTP id k668igVx022906; Thu, 6 Jul 2006 10:44:44 +0200 (CEST) Original-To: guile-devel@gnu.org X-URL: http://www.laas.fr/~lcourtes/ X-Revolutionary-Date: 18 Messidor an 214 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEB1F5364 X-PGP-Key: http://www.laas.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: powerpc-unknown-linux-gnu Mail-Followup-To: guile-devel@gnu.org In-Reply-To: <20060705214036.GD93949@mail1.thewrittenword.com> (Albert Chin's message of "Wed, 5 Jul 2006 16:40:37 -0500") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-Spam-Score: 0 () X-Scanned-By: MIMEDefang at CNRS-LAAS X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5996 Archived-At: Hi, Albert Chin writes: > I tried compiling guile-1.8.0 on HP-UX 11.23/IA-64 with the HP-UX C > compiler. It compiles fine on HP-UX 11.23/PA-RISC. On IA-64, it fails: > cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I/opt/TWWfsw/libtool15/include -I/opt/TWWfsw/libgmp42/include -D_REENTRANT -mthreads -g -c environments.c -DPIC -o .libs/libguile_la-environments.o > cc: warning 901: unknown option: `-hreads': use +help for online documentation. > "environments.c", line 146: warning #2940-D: missing return statement at end > of non-void function "scm_environment_ref" > } Actually, you don't need `environments.c' (it's currently unused and undocumented). So one easy way to work around this is to remove `environments.c' from `Makefile.am', and then re-generate the makefile (`make Makefile' should do the trick). When using GCC, these missing return statements are not caught because `scm_error_environment_unbound ()' and friends are declared with attribute `noreturn'. As for this: > "environments.c", line 692: error #2042: operand types are incompatible ("void" > and "SCM") > : SCM_SET_CORE_ENVIRONMENT_OBSERVERS (env, rest); > ^ This could be rewritten with an `if' to avoid this problem, if need be. Thanks, Ludovic. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel