Re: Latest libev gcc warning

2012-05-04 Thread Marc Lehmann
On Wed, May 02, 2012 at 10:35:45PM +0400, Konstantin Osipov wrote: > We get a new gcc warning with the latest libev: Please read the manual first, especially the part about warnings. > Please consider the below patch as a fix: There is nothing to fix in libev, this is a gcc bug #45977. --

Latest libev gcc warning

2012-05-04 Thread Konstantin Osipov
Hello, We get a new gcc warning with the latest libev: libev/ev.c:1264:25: warning: ‘ev_rt_now’ initialized and declared ‘extern’ [enabled by default] We don't use EV_API_STATIC, so EV_API_DECL is defined to 'extern'. Please consider the below patch as a fix: diff --git a/third_party/libev/ev

Latest libev gcc warning

2012-05-04 Thread Konstantin Osipov
Hello, We get a new gcc warning with the latest libev: libev/ev.c:1264:25: warning: ‘ev_rt_now’ initialized and declared ‘extern’ [enabled by default] We don't use EV_API_STATIC, so EV_API_DECL is defined to 'extern'. Please consider the below patch as a fix: diff --git a/third_party/libev/ev