Displaying 2 results from an estimated 2 matches for "flac_enable_msvc2015u2_workaround1".
2016 May 01
2
[PATCH] workaround for a bug in MSVC 2015 U2
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msvc_bug.patch
Type: application/octet-stream
2016 May 02
2
[PATCH] workaround for a bug in MSVC 2015 U2
...imization on all other files that directly or
indirectly include compat.h (that is, almost all files).
IMHO it's too broad. It seems that this problem with MSVC is local
and only stream_encoder_intrin_*.c are affected.
Or do you mean something like that --
share/compat.h:
#if defined FLAC_ENABLE_MSVC2015U2_WORKAROUND1
#if (defined _MSC_VER) && (_MSC_FULL_VER == 190023918) && (defined FLAC__CPU_X86_64)
#pragma optimize("g", off) /* workaround for a bug in MSVC 2015 U2 */
#endif
#endif
src/libFLAC/stream_encoder_intrin_*.c:
#define FLAC_ENABLE_MSVC2015U2_WORKARO...