delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/04/08/05:29:30

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: Committed some warnings-removing changes
8 Apr 1998 05:29:30 -0700 :
Message-ID: <01BD630B.0FBC9850.cygnus.cygwin32.developers@SOMESHIT>
To: "cygwin32-developers AT cygnus DOT com" <cygwin32-developers AT cygnus DOT com>,
"'Geoffrey Noer'" <noer AT cygnus DOT com>

Geoffrey Noer wrote:
> 2) In tty.cc, gcc claims that class tty * ttyp is an unused
> variable in fhandler_tty_slave::close().  What needs to change here,
> if anything?

Looks like the variable is unused now and the declaration should be removed.

> 
> 3) In exceptions.cc,
> 
> 	/home/noer/src/devo/comp-tools/devo/winsup/exceptions.cc: At top
> 	level:
> 	/home/noer/src/devo/comp-tools/devo/winsup/exceptions.cc:370: warning:
> 	`unsigned int rethere' defined but not used
> 
> Is this really the case?  Or is _rethere that's mentioned in the asm
> section refering to the global rethere?
> 

Yes it is. Try to remove it and change the asseble code

      "popl	_rethere\n"
      "popl	_rethere\n"
      "popl	_rethere\n"
      "ret");
to
	"add $12,sp\n"
	"ret");

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia.

- Raw text -


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