ASi

C

マクロの中で pragma

C

こんな感じ #define Macro(xx) { \ _Pragma("GCC diagnostic push") \ _Pragma("GCC diagnostic ignored \"-Wshadow\"") \ int num = 0; \ xx; \ _Pragma("GCC diagnostic pop") \ }