screen-users
[Top][All Lists]
Advanced

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

Re: incompatible execvpe, strlen, strcpy, strncpy in Cygwin 1.7 (0/1)


From: Andrew Schulman
Subject: Re: incompatible execvpe, strlen, strcpy, strncpy in Cygwin 1.7 (0/1)
Date: Wed, 13 Jan 2010 13:08:36 -0500

> > > Similarly, I get warnings about incompatible implicit declarations of
> > > strlen, strcpy, and strncpy, e.g.
> > > 
> > > screen.c: In function 'main':
> > > screen.c:473: warning: incompatible implicit declaration of built-in
> > > function 'strcpy'
> > > screen.c:642: warning: incompatible implicit declaration of built-in
> > > function 'strlen'
> > 
> > Thanks to Joe Zbiciak who replied off-list with a suggestion about this.
> > Again I ended up just adding an #ifdef __CYGWIN__ in os.h to force
> > inclusion of string.h, which solved the problem.  As Joe says, the logic
> > there for inclusion of string.h looks "pretty crufty", so I'm not sure that
> > there's necessarily a better approach to solve this one, short of
> > overhauling that whole section.
> 
> I believe this has been properly fixed in the development version
> (http://git.savannah.gnu.org/gitweb/?p=screen.git)

Yes, it looks to be straightened out there.
Thanks,
Andrew.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]