diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2021-05-15 23:14:18 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2021-08-30 13:52:12 +0000 |
commit | 12e2dfd31ff07d9d13c7f66b799fad90a2698428 (patch) | |
tree | 936b6a76f0ceec1b48985e8b283229958ddb32a4 /src/server | |
parent | b3a51bbb590cca6d6536532d8c0965748410f277 (diff) | |
download | riscv-openocd-12e2dfd31ff07d9d13c7f66b799fad90a2698428.zip riscv-openocd-12e2dfd31ff07d9d13c7f66b799fad90a2698428.tar.gz riscv-openocd-12e2dfd31ff07d9d13c7f66b799fad90a2698428.tar.bz2 |
Makefile: drop warning suppression on win build
Commit dcdf71c21b99 ("- fix signed/unsigned build errors under
win32. Thanks Zach Welch <zw@superlucidity.net>") in 2009 prevents
gcc warnings on sign/unsigned comparisons while building for Win
on folders 'helper' and 'server'.
In 2011, commit b69119668ed8 ("RTOS Thread awareness support wip")
uses the same method on the new folder 'rtos'.
In mean time, all the incorrect sign/unsigned comparisons has been
fixed and no warning is present with the default -Wextra flag that
implies -Wsign-compare.
The comment:
# FD_* macros are sloppy with their signs on MinGW32 platform
seems linked to some old implementation of MinGW32 include file
that doesn't apply on current versions.
Remove the obsolete hacks to suppress the warnings.
Change-Id: I76dba9e54a647d3b9fbf1b7e9ae1844e3d7adc9a
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6254
Tested-by: jenkins
Reviewed-by: Xiaofan Chen <xiaofanc@gmail.com>
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/Makefile.am | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/server/Makefile.am b/src/server/Makefile.am index 5f7469a..fb5248b 100644 --- a/src/server/Makefile.am +++ b/src/server/Makefile.am @@ -14,10 +14,4 @@ noinst_LTLIBRARIES += %D%/libserver.la %D%/ipdbg.c \ %D%/ipdbg.h -%C%_libserver_la_CFLAGS = $(AM_CFLAGS) -if IS_MINGW -# FD_* macros are sloppy with their signs on MinGW32 platform -%C%_libserver_la_CFLAGS += -Wno-sign-compare -endif - STARTUP_TCL_SRCS += %D%/startup.tcl |