shithub: opus

Download patch

ref: eca752f1008044ff6ff266a1a2433c1c794b7cbf
parent: 899348f766a18685700d2cd364008364139d3fa8
author: Ricardo Constantino (:RiCON) <[email protected]>
date: Tue Jul 26 16:35:42 EDT 2016

VS2015: Ignore warning 4146 in celt/kiss_fft.c.

Warning 4146 is "unary minus operator applied to unsigned type,
result still unsigned"

Signed-off-by: Ralph Giles <[email protected]>

--- a/win32/VS2015/opus.vcxproj
+++ b/win32/VS2015/opus.vcxproj
@@ -897,7 +897,10 @@
     <ClCompile Include="..\..\celt\entcode.c" />
     <ClCompile Include="..\..\celt\entdec.c" />
     <ClCompile Include="..\..\celt\entenc.c" />
-    <ClCompile Include="..\..\celt\kiss_fft.c" />
+    <ClCompile Include="..\..\celt\kiss_fft.c">
+      <DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='DebugDLL_fixed|Win32'">4146;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+      <DisableSpecificWarnings Condition="'$(Configuration)|$(Platform)'=='DebugDLL_fixed|x64'">4146;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+    </ClCompile>
     <ClCompile Include="..\..\celt\laplace.c" />
     <ClCompile Include="..\..\celt\mathops.c" />
     <ClCompile Include="..\..\celt\mdct.c" />