FS#54740 - [libofa] Won't build with gcc7
Attached to Project:
Arch Linux
Opened by Nikos Theodorou (GordonGR) - Saturday, 08 July 2017, 11:35 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 08 July 2017, 12:16 GMT
Opened by Nikos Theodorou (GordonGR) - Saturday, 08 July 2017, 11:35 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 08 July 2017, 12:16 GMT
|
Details
Greetings.
On 2017-06-25 I got a comment in my aur/lib32-libofa package saying the package refused to build against gcc7, stating: [code] libtool: compile: g++ -m32 -DHAVE_CONFIG_H -I./include -I./include -I. -I. -D_FORTIFY_SOURCE=2 -Wall -Wformat -march=native -O2 -pipe -fstack-protector-strong -fvisibility=hidden -c src/qtff/ColorParameterBox.cpp -fPIC -DPIC -o src/qtff/.libs/ColorParameterBox.o src/rtphint.cpp: In member function 'void mp4v2::impl::MP4RtpHintTrack::GetPayload(char**, uint8_t*, uint16_t*, char**)': src/rtphint.cpp:342:35: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if (pSlash != '\0') { ^~~~ [/code] I confirmed it and saw that extra/libofa won't build either, with the same error message. I found a patch at Gentoo that solves the issue: https://github.com/freundlich/freundlich-gentoo/commit/master Perhaps you would like to incorporate it too. Thank you. |
This task depends upon
Comment by Antonio Rojas (arojas) -
Saturday, 08 July 2017, 12:07 GMT
builds fine in a clean chroot.