diff --git a/include/emu_inc_cipher_aes.h b/include/emu_inc_cipher_aes.h index cf3662e1b..ada2e71b7 100644 --- a/include/emu_inc_cipher_aes.h +++ b/include/emu_inc_cipher_aes.h @@ -8,7 +8,6 @@ #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" @@ -16,6 +15,4 @@ #include "inc_vendor.h" #include "inc_cipher_aes.h" -#pragma GCC diagnostic pop - #endif // _EMU_INC_CIPHER_AES_H diff --git a/include/emu_inc_cipher_des.h b/include/emu_inc_cipher_des.h index bfe3d1827..af38c55ec 100644 --- a/include/emu_inc_cipher_des.h +++ b/include/emu_inc_cipher_des.h @@ -8,7 +8,6 @@ #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" @@ -16,6 +15,4 @@ #include "inc_vendor.h" #include "inc_cipher_des.h" -#pragma GCC diagnostic pop - #endif // _EMU_INC_CIPHER_DES_H diff --git a/include/emu_inc_hash_md4.h b/include/emu_inc_hash_md4.h index 67c2f1ab8..6c09a0fc3 100644 --- a/include/emu_inc_hash_md4.h +++ b/include/emu_inc_hash_md4.h @@ -8,7 +8,6 @@ #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" @@ -16,6 +15,4 @@ #include "inc_vendor.h" #include "inc_hash_md4.h" -#pragma GCC diagnostic pop - #endif // _EMU_INC_HASH_MD4_H diff --git a/include/emu_inc_hash_md5.h b/include/emu_inc_hash_md5.h index c9f1fd29d..a022d01d7 100644 --- a/include/emu_inc_hash_md5.h +++ b/include/emu_inc_hash_md5.h @@ -8,7 +8,6 @@ #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" @@ -16,6 +15,4 @@ #include "inc_vendor.h" #include "inc_hash_md5.h" -#pragma GCC diagnostic pop - #endif // _EMU_INC_HASH_MD5_H diff --git a/include/emu_inc_hash_sha1.h b/include/emu_inc_hash_sha1.h index 2c0dc08dd..2d8b51e2d 100644 --- a/include/emu_inc_hash_sha1.h +++ b/include/emu_inc_hash_sha1.h @@ -8,7 +8,6 @@ #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" @@ -16,6 +15,4 @@ #include "inc_vendor.h" #include "inc_hash_sha1.h" -#pragma GCC diagnostic pop - #endif // _EMU_INC_HASH_SHA1_H diff --git a/include/emu_inc_hash_sha256.h b/include/emu_inc_hash_sha256.h index e16faf599..c8f4630f6 100644 --- a/include/emu_inc_hash_sha256.h +++ b/include/emu_inc_hash_sha256.h @@ -8,7 +8,6 @@ #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" @@ -16,6 +15,4 @@ #include "inc_vendor.h" #include "inc_hash_sha256.h" -#pragma GCC diagnostic pop - #endif // _EMU_INC_HASH_SHA256_H diff --git a/include/emu_inc_hash_sha512.h b/include/emu_inc_hash_sha512.h index a086298b9..4620accac 100644 --- a/include/emu_inc_hash_sha512.h +++ b/include/emu_inc_hash_sha512.h @@ -8,7 +8,6 @@ #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" @@ -16,6 +15,4 @@ #include "inc_vendor.h" #include "inc_hash_sha512.h" -#pragma GCC diagnostic pop - #endif // _EMU_INC_HASH_SHA512_H diff --git a/include/emu_inc_rp.h b/include/emu_inc_rp.h index f33d5296f..65dd8bf1c 100644 --- a/include/emu_inc_rp.h +++ b/include/emu_inc_rp.h @@ -8,7 +8,6 @@ #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" @@ -16,6 +15,4 @@ #include "inc_vendor.h" #include "inc_rp.h" -#pragma GCC diagnostic pop - #endif // _EMU_INC_RP_H diff --git a/include/emu_inc_rp_optimized.h b/include/emu_inc_rp_optimized.h index 36f5b70c8..c3c3c96fa 100644 --- a/include/emu_inc_rp_optimized.h +++ b/include/emu_inc_rp_optimized.h @@ -8,7 +8,6 @@ #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" @@ -16,6 +15,4 @@ #include "inc_vendor.h" #include "inc_rp_optimized.h" -#pragma GCC diagnostic pop - #endif // _EMU_INC_RP_OPTIMIZED_H diff --git a/src/emu_inc_cipher_aes.c b/src/emu_inc_cipher_aes.c index 2a51bc959..e8296188c 100644 --- a/src/emu_inc_cipher_aes.c +++ b/src/emu_inc_cipher_aes.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_cipher_aes.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_cipher_camellia.c b/src/emu_inc_cipher_camellia.c index c2c6e6894..760c62432 100644 --- a/src/emu_inc_cipher_camellia.c +++ b/src/emu_inc_cipher_camellia.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_cipher_camellia.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_cipher_des.c b/src/emu_inc_cipher_des.c index ad28304a7..05e923560 100644 --- a/src/emu_inc_cipher_des.c +++ b/src/emu_inc_cipher_des.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_cipher_des.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_cipher_kuznyechik.c b/src/emu_inc_cipher_kuznyechik.c index 5c4325f75..e43087035 100644 --- a/src/emu_inc_cipher_kuznyechik.c +++ b/src/emu_inc_cipher_kuznyechik.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_cipher_kuznyechik.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_cipher_serpent.c b/src/emu_inc_cipher_serpent.c index 29f9c42da..7b2c058c9 100644 --- a/src/emu_inc_cipher_serpent.c +++ b/src/emu_inc_cipher_serpent.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_cipher_serpent.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_cipher_twofish.c b/src/emu_inc_cipher_twofish.c index 317b5f1de..c96e833fb 100644 --- a/src/emu_inc_cipher_twofish.c +++ b/src/emu_inc_cipher_twofish.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_cipher_twofish.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_common.c b/src/emu_inc_common.c index 13b9928f3..e4e7d36a8 100644 --- a/src/emu_inc_common.c +++ b/src/emu_inc_common.c @@ -8,11 +8,9 @@ #include "bitops.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_common.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_hash_md4.c b/src/emu_inc_hash_md4.c index 27214c822..937409671 100644 --- a/src/emu_inc_hash_md4.c +++ b/src/emu_inc_hash_md4.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_hash_md4.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_hash_md5.c b/src/emu_inc_hash_md5.c index cef4d5da5..1bb629b19 100644 --- a/src/emu_inc_hash_md5.c +++ b/src/emu_inc_hash_md5.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_hash_md5.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_hash_ripemd160.c b/src/emu_inc_hash_ripemd160.c index 96c3b776c..72b4a23ef 100644 --- a/src/emu_inc_hash_ripemd160.c +++ b/src/emu_inc_hash_ripemd160.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_hash_ripemd160.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_hash_sha1.c b/src/emu_inc_hash_sha1.c index 56e4fd438..85823f040 100644 --- a/src/emu_inc_hash_sha1.c +++ b/src/emu_inc_hash_sha1.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_hash_sha1.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_hash_sha224.c b/src/emu_inc_hash_sha224.c index 15083e815..6480654ac 100644 --- a/src/emu_inc_hash_sha224.c +++ b/src/emu_inc_hash_sha224.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_hash_sha224.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_hash_sha256.c b/src/emu_inc_hash_sha256.c index 878ec24c3..460c3e1a9 100644 --- a/src/emu_inc_hash_sha256.c +++ b/src/emu_inc_hash_sha256.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_hash_sha256.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_hash_sha384.c b/src/emu_inc_hash_sha384.c index d8ebc1057..2350c00c7 100644 --- a/src/emu_inc_hash_sha384.c +++ b/src/emu_inc_hash_sha384.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_hash_sha384.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_hash_sha512.c b/src/emu_inc_hash_sha512.c index f429e5afe..97f706b56 100644 --- a/src/emu_inc_hash_sha512.c +++ b/src/emu_inc_hash_sha512.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_hash_sha512.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_hash_streebog256.c b/src/emu_inc_hash_streebog256.c index e55fcfb8c..818e93a38 100644 --- a/src/emu_inc_hash_streebog256.c +++ b/src/emu_inc_hash_streebog256.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_hash_streebog256.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_hash_streebog512.c b/src/emu_inc_hash_streebog512.c index 5580d842c..1ce8d4754 100644 --- a/src/emu_inc_hash_streebog512.c +++ b/src/emu_inc_hash_streebog512.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_hash_streebog512.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_hash_whirlpool.c b/src/emu_inc_hash_whirlpool.c index 12ea4018a..37f7e00e2 100644 --- a/src/emu_inc_hash_whirlpool.c +++ b/src/emu_inc_hash_whirlpool.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_hash_whirlpool.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_rp.c b/src/emu_inc_rp.c index 88a989939..f2ef96743 100644 --- a/src/emu_inc_rp.c +++ b/src/emu_inc_rp.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_rp.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_rp_optimized.c b/src/emu_inc_rp_optimized.c index d3c1775f4..1bef7edd3 100644 --- a/src/emu_inc_rp_optimized.c +++ b/src/emu_inc_rp_optimized.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_rp_optimized.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_scalar.c b/src/emu_inc_scalar.c index 04acf39fc..3f3ae097d 100644 --- a/src/emu_inc_scalar.c +++ b/src/emu_inc_scalar.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_scalar.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_simd.c b/src/emu_inc_simd.c index f29c4a563..a0e50bd4e 100644 --- a/src/emu_inc_simd.c +++ b/src/emu_inc_simd.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_simd.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_truecrypt_crc32.c b/src/emu_inc_truecrypt_crc32.c index dc786ab5b..65c034b08 100644 --- a/src/emu_inc_truecrypt_crc32.c +++ b/src/emu_inc_truecrypt_crc32.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_truecrypt_crc32.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_truecrypt_keyfile.c b/src/emu_inc_truecrypt_keyfile.c index 2e98a8884..296e64c52 100644 --- a/src/emu_inc_truecrypt_keyfile.c +++ b/src/emu_inc_truecrypt_keyfile.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_truecrypt_keyfile.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_truecrypt_xts.c b/src/emu_inc_truecrypt_xts.c index 72b64fdec..f6d378bc9 100644 --- a/src/emu_inc_truecrypt_xts.c +++ b/src/emu_inc_truecrypt_xts.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_truecrypt_xts.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_inc_veracrypt_xts.c b/src/emu_inc_veracrypt_xts.c index 133100b4c..ba4f9291e 100644 --- a/src/emu_inc_veracrypt_xts.c +++ b/src/emu_inc_veracrypt_xts.c @@ -7,11 +7,9 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" #include "inc_veracrypt_xts.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_m02501_pure.c b/src/emu_m02501_pure.c index 1cce982eb..db1ab1a5c 100644 --- a/src/emu_m02501_pure.c +++ b/src/emu_m02501_pure.c @@ -7,7 +7,6 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" @@ -26,4 +25,3 @@ typedef struct digest #include "m02501-pure.cl" -#pragma GCC diagnostic pop diff --git a/src/emu_m16801_pure.c b/src/emu_m16801_pure.c index a7a800aa3..a5a87808e 100644 --- a/src/emu_m16801_pure.c +++ b/src/emu_m16801_pure.c @@ -7,7 +7,6 @@ #include "types.h" #include "emu_general.h" -#pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wunknown-pragmas" @@ -26,4 +25,3 @@ typedef struct digest #include "m16801-pure.cl" -#pragma GCC diagnostic pop