diff --git a/setup_native/source/win32/customactions/reg4msdoc/registrar.cxx b/setup_native/source/win32/customactions/reg4msdoc/registrar.cxx index 726389c72b4a..11d073e4451f 100644 --- a/setup_native/source/win32/customactions/reg4msdoc/registrar.cxx +++ b/setup_native/source/win32/customactions/reg4msdoc/registrar.cxx @@ -19,7 +19,9 @@ #endif #include +#ifdef _MSC_VER #pragma warning(disable: 4350 4482) +#endif const int MSWORD = 0x1; const int MSEXCEL = 0x2;