Narrowing conversion error building for Fedora Rawhide

Started by hobbes1069, July 08, 2016, 02:03:00 PM

Previous topic - Next topic

hobbes1069


[ 61%] Building CXX object ADM_videoEncoder/ffMpeg4/CMakeFiles/ADM_ve_ffMpeg4.dir/ffMpeg4Plugin.cpp.o
cd /builddir/build/BUILD/avidemux_2.6.12/build_plugins_common/ADM_videoEncoder/ffMpeg4 && /usr/bin/c++   -DADM_MINIMAL_UI_INTERFACE -DADM_ve_ffMpeg4_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_core -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_core/ADM_core/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_core/ADM_coreAudioFilter/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_core/ADM_coreAudioParser/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_core/ADM_coreAudio/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_core/ADM_coreAudioDevice/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_core/ADM_coreAudioEncoder/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_core/ADM_coreDemuxer/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_core/ADM_coreDemuxer/include/unix -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_core/ADM_coreDemuxerMpeg/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_core/ADM_coreImage/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_core/ADM_coreMuxer/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_core/ADM_coreScript/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_core/ADM_coreUI/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_core/ADM_coreUtils/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_core/ADM_coreVideoEncoder/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_core/ADM_coreVideoFilter/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_core/ADM_coreVideoCodec/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_core/ADM_coreImageLoader/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_core/ADM_coreJobs/include -I/builddir/build/BUILD/avidemux_2.6.12/fakeRoot/usr/include/avidemux/2.6 -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_plugins/ADM_muxerGate/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_plugins/../common -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_plugins/../common/ADM_audioFilter/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_plugins/../common/ADM_commonUI -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_plugins/../common/ADM_videoFilter2/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_plugins/../common/ADM_videoEncoder/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux_plugins/../common/ADM_editor/include -I/builddir/build/BUILD/avidemux_2.6.12/ffmpeg -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /usr/include/fribidi -I/builddir/build/BUILD/avidemux_2.6.12/build_plugins_common/ADM_videoEncoder/ffMpeg4 -I/builddir/build/BUILD/avidemux_2.6.12/avidemux/ADM_core/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux/ADM_coreVideoEncoder/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux/ADM_coreUI/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux/ADM_coreUtils/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux/ADM_coreVideoFilter/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux/ADM_coreImage/include -I/builddir/build/BUILD/avidemux_2.6.12/avidemux  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fmessage-length=0 -fmessage-length=0 -O2 -g -DNDEBUG -fPIC   -Werror=attributes -o CMakeFiles/ADM_ve_ffMpeg4.dir/ffMpeg4Plugin.cpp.o -c /builddir/build/BUILD/avidemux_2.6.12/avidemux_plugins/ADM_videoEncoder/ffMpeg4/ffMpeg4Plugin.cpp
In file included from /builddir/build/BUILD/avidemux_2.6.12/avidemux_plugins/ADM_videoEncoder/ffMpeg4/ffMpeg4Plugin.cpp:20:0:
/builddir/build/BUILD/avidemux_2.6.12/avidemux_plugins/ADM_videoEncoder/ffMpeg4/ffMpeg4Plugin.cpp: In function 'void resetConfigurationData()':
/builddir/build/BUILD/avidemux_2.6.12/avidemux_plugins/ADM_videoEncoder/ffMpeg4/ADM_ffMpeg4.h:74:1: error: narrowing conversion of '-2' from 'int' to 'uint32_t {aka unsigned int}' inside { } [-Wnarrowing]
}
^
/builddir/build/BUILD/avidemux_2.6.12/avidemux_plugins/ADM_videoEncoder/ffMpeg4/ffMpeg4Plugin.cpp:28:32: note: in expansion of macro 'MPEG4_CONF_DEFAULT'
  FFcodecSettings defaultConf = MPEG4_CONF_DEFAULT;
                                ^~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/avidemux_2.6.12/avidemux_plugins/ADM_videoEncoder/ffMpeg4/ADM_ffMpeg4.h:74:1: error: narrowing conversion of '-5' from 'int' to 'uint32_t {aka unsigned int}' inside { } [-Wnarrowing]
}
^