mirror of
https://github.com/curl/curl.git
synced 2026-08-04 14:56:19 +03:00
tests: fix enum/int confusion (Intel C), fix autotools CFLAGS for servers
By dropping the unused enum wrappers for `AF_*` macros. Also fix `./configure` to apply `--enable-werror` options to `tests/servers`, to catch this next time. Seen with Intel C compiler: ``` socksd.c(184): warning #188: enumerated type mixed with another type socksd.c(881): warning #188: enumerated type mixed with another type [...] sws.c(76): warning #188: enumerated type mixed with another type sws.c(229): warning #188: enumerated type mixed with another type [...] ``` Ref: https://github.com/curl/curl/actions/runs/13296520425/job/37129676921#step:40:338 Closes #16314
This commit is contained in:
parent
d550966bf8
commit
4aec6cdfd3
3 changed files with 4 additions and 18 deletions
|
|
@ -40,6 +40,8 @@ AM_CPPFLAGS = -I$(top_srcdir)/include \
|
|||
# Prevent LIBS from being used for all link targets
|
||||
LIBS = $(BLANK_AT_MAKETIME)
|
||||
|
||||
CFLAGS += @CURL_CFLAG_EXTRAS@
|
||||
|
||||
if DOING_NATIVE_WINDOWS
|
||||
AM_CPPFLAGS += -DCURL_STATICLIB
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue