libtool-patches
[Top][All Lists]
Advanced

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

Re: Avoid warning on cygwin


From: Ralf Wildenhues
Subject: Re: Avoid warning on cygwin
Date: Thu, 10 Apr 2008 22:53:40 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

* Eric Blake wrote on Thu, Apr 10, 2008 at 06:56:07PM CEST:
> src/.libs/lt-m4.c: In function `main':
> src/.libs/lt-m4.c:288: warning: implicit declaration of function `_setmode'

> OK to apply this?

OK provided it's been tested under MinGW.  I tested linux -> mingw
cross, where _setmode is declared, and setmode is declared #if UWIN.

Cheers,
Ralf

> 2008-04-10  Eric Blake  <address@hidden>
> 
>       Avoid usage of setmode without declaration on cygwin.
>       * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src): Ensure
>       setmode has prototype for both mingw and cygwin.




reply via email to

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