Deleted #pragma GCC diagnostics

Instead #pragma GCC diagnostics uses DIAGNOSTIC_OFF() and DIAGNOSTIC_ON() macroses