Re: xterm warning regressions (was Re: CVS Update: xc (branch: trunk))

Thomas Dickey <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <[email protected]>
On Tue, 14 Mar 2006, David Dawes wrote:

> On Sun, Mar 12, 2006 at 05:28:02PM -0800, Thomas Dickey wrote:
>> CVSROOT:	/home/x-cvs
>> Module name:	xc
>> Changes by:	[email protected].	06/03/12 17:28:02
>>
>> Log message:
>>   241. Xterm patch #210 (Thomas Dickey).
>
> This reinstates the following warnings on Solaris 9:
>
> xterm.h:243: warning: redundant redeclaration of `errno' in same scope
> /usr/include/errno.h:41: warning: previous declaration of `errno'

I test-built on Solaris 8, 9 and 10 without seeing any warnings other
than those addressed by the fix for lastlog().   That was using the
configure script of course.  Perhaps having the particular -D's set
by imake would help focus the discussion.

> main.c:452: warning: redundant redeclaration of `ptsname' in same scope
> /usr/include/stdlib.h:170: warning: previous declaration of `ptsname'
> main.c:2818: warning: unsigned int format, long unsigned int arg (arg 5)
>
> and adds this one:
>
> main.c:2586: warning: `pty_search' defined but not used

yes, that's an annoyance (but the proposed fix reversed the general
process of removing special definitions from main.c).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.