[mingw-warning-fix][unknown-pragma]

The #pragma warnings are specific to MSVC; these #pragmas account for roughly half of the produced warnings when compiling with OCE_EXTRA_WARNINGS on MinGW.