In Fedora 24 all packages must be compiled with GCC 6.
I have en error while compile libmediainfo 0.7.82:
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 -fPIC -o CMakeFiles/mediainfo.dir/builddir/build/BUILD/MediaInfoLib/Source/MediaInfo/Video/File_Mpegv.cpp.o -c /builddir/build/BUILD/MediaInfoLib/Source/MediaInfo/Video/File_Mpegv.cpp
/builddir/build/BUILD/MediaInfoLib/Source/MediaInfo/Video/File_Mpeg4v.cpp: In member function 'virtual void MediaInfoLib::File_Mpeg4v::Streams_Finish()':
/builddir/build/BUILD/MediaInfoLib/Source/MediaInfo/Video/File_Mpeg4v.cpp:580:119: error: too few arguments to function
Duration+=(float32_int32s)(((float)1000)/(((float)vop_time_increment_resolution)/fixed_vop_time_increment));
^
Full log https://kojipkgs.fedoraproject.org//work/tasks/5663/12885663/build.log
Used components https://kojipkgs.fedoraproject.org//work/tasks/5663/12885663/root.log
Please change
(float32_int32s)to
float32_int32sand it will compile with GCC 6.
Fixed, thanks.
Can you check and confirm that there is no otehr issue like this ugly one (I have no iead about the reason these parenthesis were there...)
It was the only place with an error.
I will let you know if there will be any error in Fedora builds.