From: ntfreak at B. <nt...@ma...> - 2009-04-21 11:02:42
|
Author: ntfreak Date: 2009-04-21 11:02:42 +0200 (Tue, 21 Apr 2009) New Revision: 1489 Modified: trunk/src/helper/Makefile.am trunk/src/server/Makefile.am Log: - fix signed/unsigned build errors under win32. Thanks Zach Welch <zw...@su...> Modified: trunk/src/helper/Makefile.am =================================================================== --- trunk/src/helper/Makefile.am 2009-04-21 08:51:07 UTC (rev 1488) +++ trunk/src/helper/Makefile.am 2009-04-21 09:02:42 UTC (rev 1489) @@ -18,6 +18,11 @@ libhelper_a_SOURCES += ioutil.c endif +libhelper_a_CFLAGS = +if IS_MINGW +# FD_* macros are sloppy with their signs on MinGW32 platform +libhelper_a_CFLAGS += -Wno-sign-compare +endif noinst_HEADERS = binarybuffer.h configuration.h types.h log.h command.h \ time_support.h replacements.h fileio.h jim.h jim-eventloop.h \ Modified: trunk/src/server/Makefile.am =================================================================== --- trunk/src/server/Makefile.am 2009-04-21 08:51:07 UTC (rev 1488) +++ trunk/src/server/Makefile.am 2009-04-21 09:02:42 UTC (rev 1489) @@ -8,6 +8,11 @@ libserver_a_SOURCES += httpd.c endif +libserver_a_CFLAGS = +if IS_MINGW +# FD_* macros are sloppy with their signs on MinGW32 platform +libserver_a_CFLAGS += -Wno-sign-compare +endif # tcl server addons noinst_HEADERS += tcl_server.h |