[FFmpeg-devel] warning: unknown warning option '-Wno-bool-operation'; did you mean '-Wno-bool-conversion'? [-Wunknown-warning-option]

James Almer jamrial at gmail.com
Thu Oct 12 04:59:56 EEST 2017


On 10/10/2017 4:29 PM, Derek Buitenhuis wrote:
> On 10/10/2017 8:26 PM, Helmut K. C. Tessarek wrote:
>>> And then reapplied in a different form:
>>> <http://git.videolan.org/?p=ffmpeg.git;a=commit;h=c585b4e9f0b30b2ce60a48246f6fe656b4fb3957>
>> Yep, and there they are again:
>> warning: unknown warning option '-Wno-bool-operation'; did you mean
>> '-Wno-bool-conversion'? [-Wunknown-warning-option]
>>
> 
> This is weird. it's using check_disable_warning which should only add it if it exists...

Clang seems to warn instead of fail when an option does not exist, so
configure things it exists.

A solution could be to somehow make clang fail instead of warn (-Werror
only during the test maybe?). Or just revert this again and ignore the
two or so cases where gcc thinks it should warn about boolean operations.

> 
> - Derek
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 



More information about the ffmpeg-devel mailing list