From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.bugs Subject: Re: Compiling 1.7.0 with gcc-3.3 Date: Mon, 19 May 2003 09:26:30 -0500 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87el2vovvt.fsf@raven.i.defaultvalue.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053359400 11232 80.91.224.249 (19 May 2003 15:50:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 19 May 2003 15:50:00 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon May 19 17:49:57 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Hmth-0002up-00 for ; Mon, 19 May 2003 17:49:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19Hm8a-0007gq-03 for guile-devel@m.gmane.org; Mon, 19 May 2003 11:01:16 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19HlgM-0003xM-00 for guile-devel@gnu.org; Mon, 19 May 2003 10:32:06 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19HlcR-00038q-00 for guile-devel@gnu.org; Mon, 19 May 2003 10:28:05 -0400 Original-Received: from dsl093-098-016.wdc1.dsl.speakeasy.net ([66.93.98.16] helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19Hlay-0002nM-00; Mon, 19 May 2003 10:26:32 -0400 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id 9EA881AF7; Mon, 19 May 2003 09:26:30 -0500 (CDT) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id 16697215002; Mon, 19 May 2003 09:26:30 -0500 (CDT) Original-To: Mikael Djurfeldt In-Reply-To: (Mikael Djurfeldt's message of "Mon, 19 May 2003 12:09:53 +0200") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) Original-cc: bug-guile@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2411 gmane.lisp.guile.bugs:799 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.bugs:799 Mikael Djurfeldt writes: > Of course, I'd like this to work with the default > --enable-error-on-warning. However, there are two problematic > instances. One is the use of SCM_STACKITEM. For example: > > eval.c:1965: > if (scm_stack_checking_enabled_p > && SCM_STACK_OVERFLOW_P ((SCM_STACKITEM *) &proc)) Right I posted this to guile-devel a week or so ago. Someone posted a (void *) coercion fix, but I haven't had a chance to look in to it. > This could be "solved" by adding -Wno-strict-aliasing to the > compilation options, but that might remove better motivated warnings. I'd be happier with -fno-strict-aliasing, but I don't really want that either. I'd rather see if we can alter the code to avoid the warning. > I think this is a stupid warning message. In any case, you'd want to > be able to shut it off. I can't find any way to do that. Maybe we > should talk to the gcc people about this? > > I've tried to enclose the code causing the warning with a surrounding > conditional which tests the sizes of the data types, but the compiler > outputs the above warning even though the code isn't going to be > compiled. We've worked around a bunch of warnings of this type before (I think Marius fixed most of them), so hopefully we can just adjust the code to avoid these too. > I think it's important to resolve this in some way. If we can't, I'm > going to suggest that we shut off error-on-warning as a default, which > would be sad. But Guile should compile "out-of-the-box". I'd be strongly opposed to turning off -Werror. I'd like to consider that a last resort. -- Rob Browning rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel