]> git.sur5r.net Git - openocd/commitdiff
- fix signed/unsigned build errors under win32. Thanks Zach Welch <zw@superlucidity...
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 21 Apr 2009 09:02:42 +0000 (09:02 +0000)
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 21 Apr 2009 09:02:42 +0000 (09:02 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1489 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/helper/Makefile.am
src/server/Makefile.am

index 0cfdf7c311a7af2307525b9b8a3401001e431b83..e8d9a6944887a3a7007c8bbd6b8448a07a9526a5 100644 (file)
@@ -18,6 +18,11 @@ if IOUTIL
 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 \
index 075e9560efb400b8359b061bf37a999825680926..faf496061c8f35d02ee1f9292edd99892915e062 100644 (file)
@@ -8,6 +8,11 @@ if HTTPD
 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