[flac-dev] [PATCH] workaround for a bug in MSVC 2015 U2

Erik de Castro Lopo mle+la at mega-nerd.com
Mon May 2 08:15:51 UTC 2016


lvqcl wrote:

> As I wrote earlier, MSVC 2015 U2 incorrectly compiles
> stream_encoder_intrin_*.c files for x86-64 platform.
> As a result, flac works, but compression ratio is close to 1.
> This patch disables some compiler optimizations, and
> compression ratio reverts back to normal values.

Rather than having the same chunk of code in three different
files, wouldn't it be nicer to put it in "share/compat.h" and
include it as needed?

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the flac-dev mailing list