Trivial warnings nit

Marc Lehmann schmorp at schmorp.de
Fri Apr 18 19:16:16 CEST 2008


On Fri, Apr 18, 2008 at 11:16:43AM -0500, Brandon Black <blblack at gmail.com> wrote:
> At least for me using it embedded with my compiler/cflags/etc (which
> include -Werror, which is what makes it a pain why I compile on targets 

Well, specifying -Werror is a rather stupid thing to do (if it is gcc,
it turns gcc into a non-conforming C compiler...), and certainly isn't
supported by libev: libev cannot make workarounds for all existing
compiler warnings, there are too many compilers out there and too many
warnings that trigger on correct code.

Since it is so trivial, I have little problems with applying this
workaround, but in general, I'd like to avoid yntactical lutter that makes
maintainance harder just to compile with a deliberately broken compiler.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      pcg at goof.com
      -=====/_/_//_/\_,_/ /_/\_\



More information about the libev mailing list