diff --git a/developer/warnings.sh b/developer/warnings.sh index 4a0fd701b..12a4d05f8 100755 --- a/developer/warnings.sh +++ b/developer/warnings.sh @@ -16,7 +16,6 @@ ls ../mbedtls/*.c > files.txt while read -r file; do echo $file mv $file tmpc -# echo '#pragma GCC diagnostic ignored "-Wredundant-tags"' >> $file echo '#pragma clang diagnostic ignored "-Wunknown-warning-option"' >> $file cat tmpc >> $file rm tmpc diff --git a/mbedtls/aes.c b/mbedtls/aes.c index eb942cc5c..d44223a10 100644 --- a/mbedtls/aes.c +++ b/mbedtls/aes.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" #pragma GCC diagnostic ignored "-Wconversion" diff --git a/mbedtls/aesni.c b/mbedtls/aesni.c index 587080962..f32333bb0 100644 --- a/mbedtls/aesni.c +++ b/mbedtls/aesni.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/arc4.c b/mbedtls/arc4.c index cb36ceb4c..eeef771d4 100644 --- a/mbedtls/arc4.c +++ b/mbedtls/arc4.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/aria.c b/mbedtls/aria.c index 241f27da6..09c8c0220 100644 --- a/mbedtls/aria.c +++ b/mbedtls/aria.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/asn1parse.c b/mbedtls/asn1parse.c index 24b2a6b9c..2e7cf6779 100644 --- a/mbedtls/asn1parse.c +++ b/mbedtls/asn1parse.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/asn1write.c b/mbedtls/asn1write.c index ee8671c21..a0b1b447e 100644 --- a/mbedtls/asn1write.c +++ b/mbedtls/asn1write.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/base64.c b/mbedtls/base64.c index 628989c3c..2cc8f7eb6 100644 --- a/mbedtls/base64.c +++ b/mbedtls/base64.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/bignum.c b/mbedtls/bignum.c index a1d7caf62..6e5c04936 100644 --- a/mbedtls/bignum.c +++ b/mbedtls/bignum.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/blowfish.c b/mbedtls/blowfish.c index 8b0486690..4f934f7a3 100644 --- a/mbedtls/blowfish.c +++ b/mbedtls/blowfish.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/camellia.c b/mbedtls/camellia.c index 9d16a6163..08fb86a54 100644 --- a/mbedtls/camellia.c +++ b/mbedtls/camellia.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/ccm.c b/mbedtls/ccm.c index 37662d3c5..9b54fcec3 100644 --- a/mbedtls/ccm.c +++ b/mbedtls/ccm.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/certs.c b/mbedtls/certs.c index 80d264fe8..6cc2b4cab 100644 --- a/mbedtls/certs.c +++ b/mbedtls/certs.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/chacha20.c b/mbedtls/chacha20.c index d781076d1..48f657211 100644 --- a/mbedtls/chacha20.c +++ b/mbedtls/chacha20.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/chachapoly.c b/mbedtls/chachapoly.c index cf9f7aa55..8815fb62c 100644 --- a/mbedtls/chachapoly.c +++ b/mbedtls/chachapoly.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/cipher.c b/mbedtls/cipher.c index 60150769f..8bd1d8a8a 100644 --- a/mbedtls/cipher.c +++ b/mbedtls/cipher.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/cipher_wrap.c b/mbedtls/cipher_wrap.c index c50774d72..6e909a4f5 100644 --- a/mbedtls/cipher_wrap.c +++ b/mbedtls/cipher_wrap.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/cmac.c b/mbedtls/cmac.c index dccc4fb9b..4e09e8cbb 100644 --- a/mbedtls/cmac.c +++ b/mbedtls/cmac.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/ctr_drbg.c b/mbedtls/ctr_drbg.c index 4613c1a3e..5d817faa1 100644 --- a/mbedtls/ctr_drbg.c +++ b/mbedtls/ctr_drbg.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/debug.c b/mbedtls/debug.c index efdeddfe5..4fe7c32bd 100644 --- a/mbedtls/debug.c +++ b/mbedtls/debug.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/des.c b/mbedtls/des.c index 2a483f5f2..1bd7024f9 100644 --- a/mbedtls/des.c +++ b/mbedtls/des.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/dhm.c b/mbedtls/dhm.c index 9a53f5453..66e816cee 100644 --- a/mbedtls/dhm.c +++ b/mbedtls/dhm.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/ecdh.c b/mbedtls/ecdh.c index 8d3c2b4be..cd6cb10c8 100644 --- a/mbedtls/ecdh.c +++ b/mbedtls/ecdh.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/ecdsa.c b/mbedtls/ecdsa.c index 6d983502f..d9fb9b189 100644 --- a/mbedtls/ecdsa.c +++ b/mbedtls/ecdsa.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/ecjpake.c b/mbedtls/ecjpake.c index b1326258b..4b200e45c 100644 --- a/mbedtls/ecjpake.c +++ b/mbedtls/ecjpake.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/ecp.c b/mbedtls/ecp.c index 6950243e6..605f33ce6 100644 --- a/mbedtls/ecp.c +++ b/mbedtls/ecp.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/ecp_curves.c b/mbedtls/ecp_curves.c index 72e17642b..00e6bbc93 100644 --- a/mbedtls/ecp_curves.c +++ b/mbedtls/ecp_curves.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/entropy.c b/mbedtls/entropy.c index c8ef87975..01e35f737 100644 --- a/mbedtls/entropy.c +++ b/mbedtls/entropy.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/entropy_poll.c b/mbedtls/entropy_poll.c index cdda6b3f4..8a2b1f698 100644 --- a/mbedtls/entropy_poll.c +++ b/mbedtls/entropy_poll.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/error.c b/mbedtls/error.c index 5901dca00..c972301d2 100644 --- a/mbedtls/error.c +++ b/mbedtls/error.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/gcm.c b/mbedtls/gcm.c index 6647605c3..8a812706e 100644 --- a/mbedtls/gcm.c +++ b/mbedtls/gcm.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/havege.c b/mbedtls/havege.c index 73cca8bc1..8746dbe0d 100644 --- a/mbedtls/havege.c +++ b/mbedtls/havege.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/hkdf.c b/mbedtls/hkdf.c index 4fa1be40f..807510d65 100644 --- a/mbedtls/hkdf.c +++ b/mbedtls/hkdf.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/hmac_drbg.c b/mbedtls/hmac_drbg.c index e6b4e2411..1e8a325f4 100644 --- a/mbedtls/hmac_drbg.c +++ b/mbedtls/hmac_drbg.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/md.c b/mbedtls/md.c index 25b8698ce..508dd6dce 100644 --- a/mbedtls/md.c +++ b/mbedtls/md.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/md2.c b/mbedtls/md2.c index bfb23a92c..0722106ca 100644 --- a/mbedtls/md2.c +++ b/mbedtls/md2.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/md4.c b/mbedtls/md4.c index e8e8adcdf..8e018b803 100644 --- a/mbedtls/md4.c +++ b/mbedtls/md4.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/md5.c b/mbedtls/md5.c index 3d00d9784..59e87c2b5 100644 --- a/mbedtls/md5.c +++ b/mbedtls/md5.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/md_wrap.c b/mbedtls/md_wrap.c index 531db9aba..47566aa2d 100644 --- a/mbedtls/md_wrap.c +++ b/mbedtls/md_wrap.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/memory_buffer_alloc.c b/mbedtls/memory_buffer_alloc.c index f4f7385fe..e0b6c9b08 100644 --- a/mbedtls/memory_buffer_alloc.c +++ b/mbedtls/memory_buffer_alloc.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/net_sockets.c b/mbedtls/net_sockets.c index f2b058915..706cee5f1 100644 --- a/mbedtls/net_sockets.c +++ b/mbedtls/net_sockets.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/nist_kw.c b/mbedtls/nist_kw.c index 21738795e..3da3f89d9 100644 --- a/mbedtls/nist_kw.c +++ b/mbedtls/nist_kw.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/oid.c b/mbedtls/oid.c index b4f603613..860d5479c 100644 --- a/mbedtls/oid.c +++ b/mbedtls/oid.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/padlock.c b/mbedtls/padlock.c index 55e41c910..41a29f3c7 100644 --- a/mbedtls/padlock.c +++ b/mbedtls/padlock.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/pem.c b/mbedtls/pem.c index c6f304d4b..571fc6093 100644 --- a/mbedtls/pem.c +++ b/mbedtls/pem.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/pk.c b/mbedtls/pk.c index d075851b1..3b8ec32ad 100644 --- a/mbedtls/pk.c +++ b/mbedtls/pk.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/pk_wrap.c b/mbedtls/pk_wrap.c index 20ebd3587..97cbd71da 100644 --- a/mbedtls/pk_wrap.c +++ b/mbedtls/pk_wrap.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/pkcs11.c b/mbedtls/pkcs11.c index 152ad9d9e..89434ed25 100644 --- a/mbedtls/pkcs11.c +++ b/mbedtls/pkcs11.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/pkcs12.c b/mbedtls/pkcs12.c index d16ac2eda..a85f9be98 100644 --- a/mbedtls/pkcs12.c +++ b/mbedtls/pkcs12.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/pkcs5.c b/mbedtls/pkcs5.c index 0a043b97e..00d8e9f17 100644 --- a/mbedtls/pkcs5.c +++ b/mbedtls/pkcs5.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/pkparse.c b/mbedtls/pkparse.c index 5957e407f..cb93676d0 100644 --- a/mbedtls/pkparse.c +++ b/mbedtls/pkparse.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/pkwrite.c b/mbedtls/pkwrite.c index 6468e9c0f..0398c6c1d 100644 --- a/mbedtls/pkwrite.c +++ b/mbedtls/pkwrite.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/platform.c b/mbedtls/platform.c index 6d708146c..5eb57c7a8 100644 --- a/mbedtls/platform.c +++ b/mbedtls/platform.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/platform_util.c b/mbedtls/platform_util.c index 000553fbc..2d04b2696 100644 --- a/mbedtls/platform_util.c +++ b/mbedtls/platform_util.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/poly1305.c b/mbedtls/poly1305.c index 86df33019..36931317a 100644 --- a/mbedtls/poly1305.c +++ b/mbedtls/poly1305.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/ripemd160.c b/mbedtls/ripemd160.c index 82dd65499..74fc8323a 100644 --- a/mbedtls/ripemd160.c +++ b/mbedtls/ripemd160.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/rsa.c b/mbedtls/rsa.c index 19ff52d70..e73bec859 100644 --- a/mbedtls/rsa.c +++ b/mbedtls/rsa.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/rsa_internal.c b/mbedtls/rsa_internal.c index 2830582a7..a0f8854b3 100644 --- a/mbedtls/rsa_internal.c +++ b/mbedtls/rsa_internal.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/sha1.c b/mbedtls/sha1.c index 1b5298851..b08284050 100644 --- a/mbedtls/sha1.c +++ b/mbedtls/sha1.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/sha256.c b/mbedtls/sha256.c index cecc0ba35..c95a92c20 100644 --- a/mbedtls/sha256.c +++ b/mbedtls/sha256.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/sha512.c b/mbedtls/sha512.c index cc560d1ae..c278c288e 100644 --- a/mbedtls/sha512.c +++ b/mbedtls/sha512.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/ssl_cache.c b/mbedtls/ssl_cache.c index c35335d9a..ddb75fb92 100644 --- a/mbedtls/ssl_cache.c +++ b/mbedtls/ssl_cache.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/ssl_ciphersuites.c b/mbedtls/ssl_ciphersuites.c index 3a415c5c0..2ca4cbafb 100644 --- a/mbedtls/ssl_ciphersuites.c +++ b/mbedtls/ssl_ciphersuites.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/ssl_cli.c b/mbedtls/ssl_cli.c index a8ade4825..b34e4b689 100644 --- a/mbedtls/ssl_cli.c +++ b/mbedtls/ssl_cli.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/ssl_cookie.c b/mbedtls/ssl_cookie.c index 71cd02c3c..fe0aeba08 100644 --- a/mbedtls/ssl_cookie.c +++ b/mbedtls/ssl_cookie.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/ssl_srv.c b/mbedtls/ssl_srv.c index 69f0b43bf..937769fe2 100644 --- a/mbedtls/ssl_srv.c +++ b/mbedtls/ssl_srv.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/ssl_ticket.c b/mbedtls/ssl_ticket.c index 45927839b..54cbf83ea 100644 --- a/mbedtls/ssl_ticket.c +++ b/mbedtls/ssl_ticket.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/ssl_tls.c b/mbedtls/ssl_tls.c index 91b13795d..6770572a9 100644 --- a/mbedtls/ssl_tls.c +++ b/mbedtls/ssl_tls.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/threading.c b/mbedtls/threading.c index 8d12bae7e..da5f55697 100644 --- a/mbedtls/threading.c +++ b/mbedtls/threading.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/timing.c b/mbedtls/timing.c index f8b6a7b6e..bacb0c5c4 100644 --- a/mbedtls/timing.c +++ b/mbedtls/timing.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/version.c b/mbedtls/version.c index df6577c59..6c531c8ee 100644 --- a/mbedtls/version.c +++ b/mbedtls/version.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/version_features.c b/mbedtls/version_features.c index 57a30a0c4..ddbe823d2 100644 --- a/mbedtls/version_features.c +++ b/mbedtls/version_features.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/x509.c b/mbedtls/x509.c index 41426084d..108b15caa 100644 --- a/mbedtls/x509.c +++ b/mbedtls/x509.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/x509_create.c b/mbedtls/x509_create.c index 6bb40da80..2875d9532 100644 --- a/mbedtls/x509_create.c +++ b/mbedtls/x509_create.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/x509_crl.c b/mbedtls/x509_crl.c index 8fda9e191..ae5be08d3 100644 --- a/mbedtls/x509_crl.c +++ b/mbedtls/x509_crl.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/x509_crt.c b/mbedtls/x509_crt.c index 6bb2ae60a..7e8b04156 100644 --- a/mbedtls/x509_crt.c +++ b/mbedtls/x509_crt.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/x509_csr.c b/mbedtls/x509_csr.c index 83c859631..8ecc7c50d 100644 --- a/mbedtls/x509_csr.c +++ b/mbedtls/x509_csr.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/x509write_crt.c b/mbedtls/x509write_crt.c index 6b99dc051..abeea0b07 100644 --- a/mbedtls/x509write_crt.c +++ b/mbedtls/x509write_crt.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/x509write_csr.c b/mbedtls/x509write_csr.c index 33dd7f7a8..6f6687405 100644 --- a/mbedtls/x509write_csr.c +++ b/mbedtls/x509write_csr.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion" diff --git a/mbedtls/xtea.c b/mbedtls/xtea.c index a15821344..b50a670b9 100644 --- a/mbedtls/xtea.c +++ b/mbedtls/xtea.c @@ -1,5 +1,4 @@ #pragma clang diagnostic ignored "-Wunknown-warning-option" -#pragma GCC diagnostic ignored "-Wredundant-tags" #pragma clang diagnostic ignored "-Wimplicit-int-conversion" #pragma clang diagnostic ignored "-Wsign-conversion"