Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: HEADS UP: terminfo imported into -current



On Thu, Feb 04, 2010 at 10:37:02 +0000, Roy Marples wrote:

> On 04/02/2010 10:03, Chavdar Ivanov wrote:
>
> >/usr/xsrc/external/mit/xterm/dist/main.c:3311: warning: initialization 
> >makes poi
> >nter from integer without a cast
> >...
> >
> >The line in question is :
> >...
> >      char *s = tgetstr(TERMCAP_ERASE,&p);
> >...
> 
> That's odd as the function declaration has not changed.

But *visibility* of that declaration could have.  We build xsrc with
less strict warnings, iirc, so that probably gets implicit declaration
(returns int, no typechecking for args) without gcc compalining about
it.

SY, Uwe
-- 
uwe%stderr.spb.ru@localhost                       |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen


Home | Main Index | Thread Index | Old Index