delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/03/03/10:46:30

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <10203031546.AA15829@clio.rice.edu>
Subject: Re: gcc 3.03 and libc sources
To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
Date: Sun, 3 Mar 2002 09:46:37 -0600 (CST)
Cc: djgpp-workers AT delorie DOT com
In-Reply-To: <Pine.SUN.3.91.1020303133658.705I-100000@is> from "Eli Zaretskii" at Mar 03, 2002 01:37:12 PM
X-Mailer: ELM [version 2.5 PL2]
Mime-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> On Sat, 2 Mar 2002, Charles Sandmann wrote:
> 
> > > No. We have type->stubinfo->struct_length as signed. 
> > 
> > This sounds like a bug ... maybe we should just fix system.h to
> > make it unsigned.
> 
> It's probably best.
> 
> > I don't see any reason why a struct_length would ever be 
> > negative ...
> 
> The reason might be some more whining elsewhere...

I did see the a declaration in chkv2prg.c also (as a integer) but
no comparisons so maybe it doesn't complain...

If the string "unsigned" was as short as "int" I'll bet many of these
problems wouldn't happen :-)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019