[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] Include order in Makefile.nmake



On Thu, Aug 12, 2010 at 3:18 PM, Gilad Benjamini
<gilad@xxxxxxxxxxxxxxxxx> wrote:
> Makefile.nmake in the tarball has this line
>    CFLAGS=/Iinclude /Icompat /IWIN32-Code /DWIN32 /DHAVE_CONFIG_H /EHsc /I.
>
> event-config.h exists in both include/event2 and WIN32-Code/event2
>
> Therefore, the file is taken from the wrong place.
> I believe the "/IWIN32-Code" should come before "/Iinclude"

Hm!  There should actually be no event-config.h in include/event2 as
shipped; it should only show up there if you previously built using
mingw before you tried building with MSVC.  The fact that a copy was
included with the 2.0.6-rc tarball is itself a bug.

I'll try to fix both of these problems, if my automake fu is strong
enough today.  (I'm calling the Makefile.nmake include order a bug
too, since sometimes people _do_ want to test libevent with mingw,
then with msvc.)

yrs,
--
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.