On Wed, Dec 14, 2016 at 04:46:54PM +0100, Steve Lhomme wrote:
> From: Steve Lhomme <[email protected]>
> 
> Without any optimization flags, MSVC does no dead code elimination (DCE) at
> all, even for the most trivial cases. DCE is a prerequisite for building libav
> correctly, otherwise there are undefined references to functions for other
> architectures and disabled components.
> 
> -Os -Og is the minimal optimization flags for MSVC that does include DCE. It

-Os -Og are .. that do ..

> warns that -Og will be removed but it doesn't work without. -O1 includes these
> flags and some other ones not necessary to link properly.

What does "warn" mean? And is this combination really preferable to plain -O1?

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to