Compilation Error Under Visual Studio 14 on Windows (fixed)

Marc Lehmann schmorp at schmorp.de
Sat Oct 17 23:47:04 CEST 2015


On Fri, Oct 16, 2015 at 06:38:05PM -0500, Jason Madden <jason.madden at nextthought.com> wrote:
> I'm a maintainer of the Python library gevent which wraps libev. When compiling the latest release of libev using the relatively-recently-released Visual Studio 14 (aka 2015) for both 32- and 64-bit environments we got compilation errors like these:

A shame that visual studio comes with broken includes, but fortunately we
indeed don't need it anymore, so it's removed.

>  timeb.h is noted to contain "xsi legacy functionality", so I'm not sure if it's not being maintained properly anymore,

Well, Microsoft boasts itself with 100% bug compatibility back to the
earliest windows releases, so they better maintain it :)

The comment was just noting that sys/timeb.h, which is pretty obscure to
unix programmers, actually is an xsi legacy function so is not a windows-only
function. It is, however, almost exclusively used on windows only, as
windows lacks all the more advanced functionality (as the ugly code now in
use shows).

Anyways, thanks for pointing this out, and testing it!

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



More information about the libev mailing list