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

David Dawes <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <[email protected]>
On Tue, Mar 14, 2006 at 06:49:49PM -0500, Thomas Dickey wrote:
>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.

gcc -c -O2 -fno-strength-reduce -fno-strict-aliasing -DNO_ASM -Wall -Wpointer-arith -Wstrict-prototypes                           -Wmissing-prototypes -Wmissing-declarations                     -Wredundant-decls -Wnested-externs -Wundef   -I. -I. -I../../exports/include -I../../exports/include -I../../exports/include/freetype2  -I../../exports/include  -Dsun -DSVR4 -D__EXTENSIONS__                                 -Di386 -D__i386 -D__i386__        -DSCROLLBAR_RIGHT -DOPT_WIDE_CHARS -DOPT_LUIT_PROG -DXRENDERFONT -DXFREE86_FT2 -DPROJECTROOT=/usr/X11R6     -DUTMP -DUSE_TTY_GROUP              -DOSMAJORVERSION=5     -DOSMINORVERSION=9 main.c

>>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).


David
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.