[Libav-user] if(0) and unresolved symbols.

Joel Linn jl at conductive.de
Tue Jun 23 00:22:20 EEST 2020


Thanks for the fast and plenty replies.

I got it linking fine now in my debug configuration.
I am however unable to compile for Release although Optimizations are 
enabled, some other flags in combination seem to break dead code 
elimination.

I will share when I find the culprit.

On 2020-06-22 23:10, Carl Eugen Hoyos wrote:
> Am Mo., 22. Juni 2020 um 21:36 Uhr schrieb Jaka Bac 
> <jakabac at gmail.com>:
>> 
>> On Mon, 22 Jun 2020 at 16:16, Carl Eugen Hoyos <ceffmpeg at gmail.com> 
>> wrote:
>>> 
>>> You need to enable „dead code elimination“, FFmpeg cannot be
>>> compiled without it, most supported compilers do not allow to disable 
>>> it.
> 
>> MSVC with optimizations disabled (/Od) does not do perform DCE
> 
> I know.
> 
> Most (all other?) supported compilers do not allow to disable Dead Code
> Elimination, FFmpeg cannot be compiled without Dead Code Elimination.
> 
> Carl Eugen
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/libav-user
> 
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org with subject "unsubscribe".


More information about the Libav-user mailing list