From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Dale P. Smith" Newsgroups: gmane.lisp.guile.devel Subject: Re: Everyone working on the C side might want to read this article... Date: Thu, 17 Apr 2003 16:33:29 -0400 Organization: Cleveland Linux Users Group Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <20030417163329.2756da8b.dsmith@cleveland.lug.net> References: <873ckgevxl.fsf@raven.i.defaultvalue.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1050612201 28530 80.91.224.249 (17 Apr 2003 20:43:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 17 Apr 2003 20:43:21 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Apr 17 22:43:17 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 196GAO-0007BP-00 for ; Thu, 17 Apr 2003 22:39:32 +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 196G9y-0004mk-00 for guile-devel@m.gmane.org; Thu, 17 Apr 2003 16:39:06 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 196G8a-000407-00 for guile-devel@gnu.org; Thu, 17 Apr 2003 16:37:40 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 196G5X-000256-00 for guile-devel@gnu.org; Thu, 17 Apr 2003 16:34:32 -0400 Original-Received: from ip-66-80-147-93.iad.megapath.net ([66.80.147.93] helo=mail.cleveland.lug.net) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 196G4g-0001F0-00 for guile-devel@gnu.org; Thu, 17 Apr 2003 16:33:38 -0400 Original-Received: from sparky (borg.altus.cc [208.40.56.34]) by mail.cleveland.lug.net (Postfix) with SMTP id 27C73130E4; Thu, 17 Apr 2003 16:33:33 -0400 (EDT) Original-To: Rob Browning In-Reply-To: <873ckgevxl.fsf@raven.i.defaultvalue.org> X-Mailer: Sylpheed version 0.8.10claws13 (GTK+ 1.2.10; i386-debian-linux-gnu) 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:2176 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2176 On Thu, 17 Apr 2003 15:00:22 -0500 Rob Browning wrote: > > The following article explains gcc changes that may be behind at least > some of our recent set of bugs: > > http://www.ddj.com/documents/s=880/ddj0010d/0010d.htm > > You may not need to read it if you're already familiar with what the C > standard says about type aliasing, or already know that (for example) > according to the standard this code is illegal and the results are > undefined: [ code examples ] > Thanks to Marius for tracking the pointer down. I'm not yet sure what > this means for our code. Some time ago, some effort was put into guile to use unions and structs as the type for SCM to provide much more robust type checking from the compiler. Unfortunately, that code is almost worthless except for debugging because of the way structs are returned, iirc. Does this situation change at all with gcc >= 3 and the new c99 standard? -Dale -- Dale P. Smith Senior Systems Consultant, | Treasurer, Altus Technologies Corporation | Cleveland Linux Users Group dsmith at altustech dot com | http://cleveland.lug.net 440-746-9000 x239 | _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel