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:
Viktor Szakats 2026-01-13 22:07:53 +01:00
parent ad8374aedc
commit 0431cbe71a
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
13 changed files with 13 additions and 157 deletions

View file

@ -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