mirror of
https://github.com/curl/curl.git
synced 2026-08-26 21:03:34 +03:00
build: globally suppress DJGPP warnings in FD_SET()
Replacing the many local `#pragma` used before this patch, reducing the number of `__DJGPP__` guards from 58 to 13. Closes #20299
This commit is contained in:
parent
ad8374aedc
commit
0431cbe71a
13 changed files with 13 additions and 157 deletions
|
|
@ -36,9 +36,6 @@
|
|||
*/
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic ignored "-Wsign-conversion"
|
||||
#ifdef __DJGPP__
|
||||
#pragma GCC diagnostic ignored "-Warith-conversion"
|
||||
#endif
|
||||
#elif defined(_MSC_VER)
|
||||
#pragma warning(disable:4127) /* conditional expression is constant */
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue