From b98d6bc1a0802cd35545022c3ebe13e20b5f4371 Mon Sep 17 00:00:00 2001 From: SAPikachu Date: Sat, 2 May 2015 12:01:43 +0800 Subject: [PATCH] Fix compilation under ICC --- src/avisynth/avisynth.h | 10 ++++++++++ src/debug_dump.cpp | 2 ++ 2 files changed, 12 insertions(+) diff --git a/src/avisynth/avisynth.h b/src/avisynth/avisynth.h index d21508c..36de4fd 100644 --- a/src/avisynth/avisynth.h +++ b/src/avisynth/avisynth.h @@ -6,7 +6,17 @@ namespace AVS_NS { #if USE_AVISYNTH_INTERFACE == 6 +#if defined(__INTEL_COMPILER) +#pragma warning(push) +// #693: calling convention specified here is ignored +#pragma warning(disable: 693) +#endif + #include "include/interface_v6/avisynth.h" + +#if defined(__INTEL_COMPILER) +#pragma warning(pop) +#endif #elif USE_AVISYNTH_INTERFACE == 3 #include "include/interface_legacy_26/avisynth.h" #else diff --git a/src/debug_dump.cpp b/src/debug_dump.cpp index 9887e51..d0e6797 100644 --- a/src/debug_dump.cpp +++ b/src/debug_dump.cpp @@ -8,6 +8,8 @@ #include "compiler_compat.h" +#include + #define DUMP_MAX_NAME_LENGTH 32 #define DUMP_MAX_STAGES 32