X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4115960d4b88375610bd0a8990a5a522c9fbe003..ad4e3f7be6f20d5a164a608b44c51056231ddad9:/src/common/mimecmn.cpp?ds=sidebyside diff --git a/src/common/mimecmn.cpp b/src/common/mimecmn.cpp index cdf3108be8..4afd332148 100644 --- a/src/common/mimecmn.cpp +++ b/src/common/mimecmn.cpp @@ -81,7 +81,17 @@ wxFileTypeInfo::wxFileTypeInfo(const wxChar *mimeType, for ( ;; ) { + // icc gives this warning in its own va_arg() macro, argh +#ifdef __INTELC__ + #pragma warning(push) + #pragma warning(disable: 1684) +#endif + const wxChar *ext = va_arg(argptr, const wxChar *); + +#ifdef __INTELC__ + #pragma warning(pop) +#endif if ( !ext ) { // NULL terminates the list