Add pragma GCC diagnostic to suppress warnings