FS#54331 - [libffado] Build failure
Attached to Project:
Arch Linux
Opened by Baptiste (zorun) - Tuesday, 06 June 2017, 21:44 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 15 June 2017, 21:50 GMT
Opened by Baptiste (zorun) - Tuesday, 06 June 2017, 21:44 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 15 June 2017, 21:50 GMT
|
Details
Trying to build libffado (2.3.0-1) results in the error
below, probably related to the upgrade to GCC 7. Anyway, the
offending code indeed seems bogus.
There seems to be a lot of recent activity upstream [http://subversion.ffado.org/browser/trunk/libffado] so this may already have been fixed in the svn repo. g++ -o src/libieee1394/configrom.os -c -std=gnu++11 -m64 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fPIC -fPIC -DDEBUG_MESSAGES -DENABLE_BEBOB -DENABLE_FIREWORKS -DENABLE_OXFORD -DENABLE_MOTU -DENABLE_DICE -DENABLE_RME -DENABLE_GENERICAVC -I. -Isrc -I/usr/include/libxml++-3.0 -I/usr/lib/libxml++-3.0/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include src/libieee1394/configrom.cpp src/libieee1394/configrom.cpp: In member function ‘bool ConfigRom::initialize()’: src/libieee1394/configrom.cpp:179:31: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] while ((buf + len - 1) == '\0') { ^~~~ src/libieee1394/configrom.cpp:198:31: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] while ((buf + len - 1) == '\0') { ^~~~ scons: *** [src/libieee1394/configrom.os] Error 1 scons: building terminated because of errors. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Thursday, 15 June 2017, 21:50 GMT
Reason for closing: Fixed
Additional comments about closing: libffado 2.3.0-2
Thursday, 15 June 2017, 21:50 GMT
Reason for closing: Fixed
Additional comments about closing: libffado 2.3.0-2
Comment by loqs (loqs) - Tuesday,
06 June 2017, 21:55 GMT
http://subversion.ffado.org/changeset/2673