mirror of
https://github.com/curl/curl.git
synced 2026-07-24 14:27:16 +03:00
build: drop macro used to enable -Wsign-conversion warnings in CI
We don't pursue this, and the necessary `#pragma` got in the way of
compiling curl with gcc 4.2 and older. Drop the logic completely.
Follow-up to 8a266ac488 #15939
Reported-by: prpr19xx on Github
Fixes #16152
Closes #16157
This commit is contained in:
parent
48ced02bff
commit
2ed232a4e6
4 changed files with 4 additions and 14 deletions
|
|
@ -31,13 +31,6 @@
|
|||
/* Tell "curl/curl.h" not to include "curl/mprintf.h" */
|
||||
#define CURL_SKIP_INCLUDE_MPRINTF
|
||||
|
||||
/* Make these warnings visible with an option. */
|
||||
#if !defined(CURL_WARN_SIGN_CONVERSION)
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
#pragma GCC diagnostic ignored "-Wsign-conversion"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Set default _WIN32_WINNT */
|
||||
#ifdef __MINGW32__
|
||||
#include <_mingw.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue