delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/03/19/03:11:12

Date: Mon, 19 Mar 2001 09:59:23 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: djgpp-workers AT delorie DOT com
Subject: Re: Small patch for src/libemu/src/emu387.cc
In-Reply-To: <3405-Sun18Mar2001175857+0200-eliz@is.elta.co.il>
Message-ID: <Pine.A41.4.05.10103190957390.82590-100000@ieva06.lanet.lv>
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 Sun, 18 Mar 2001, Eli Zaretskii wrote:

> > From: pavenis AT lanet DOT lv
> > Date: Sat, 17 Mar 2001 17:00:36 +0200
> > 
> > --- ./src/libemu/src/emu387.cc~1	Fri Dec  3 13:44:08 1999
> > +++ ./src/libemu/src/emu387.cc	Sat Mar 17 16:38:54 2001
> > @@ -1,3 +1,4 @@
> > +/* Copyright (C) 2001 DJ Delorie, see COPYING.DJ for details */
> >  /* Copyright (C) 1999 DJ Delorie, see COPYING.DJ for details */
> >  /* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */
> >  /* Copyright (C) 1997 DJ Delorie, see COPYING.DJ for details */
> > @@ -5,6 +6,7 @@
> >  #include <stdio.h>
> >  #include <stdlib.h>
> >  #include <setjmp.h>
> > +#include <string.h>
> 
> For me, this fails to compile because emu387.cc uses a local variable
> called `index', which causes a compiler warning (treated as an error
> under the paranoiac libc compiler options).
> 

I had to remove -Werror to get libc compiled with gcc-3.0 20010314 at
all. So I didn't notice one warning between large number of other ones

Andris


- Raw text -


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