Summary: | =app-text/libwps-0.2.2: fails to build with gcc-4.6 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matt Turner <mattst88> |
Component: | New packages | Assignee: | GNOME Office (OBSOLETE) <gnome-office+disabled> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 346809 | ||
Attachments: | build.log |
I just switched my gcc profile around a few times and now it works.. |
Created attachment 279361 [details] build.log WPS4.cpp: In member function 'bool WPS4Parser::readFODPage(WPXInputStream*, std::vector<FOD>*)': WPS4.cpp:201:11: error: variable 'fcFirst' set but not used [-Werror=unused-but-set-variable] /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I/usr/include/libwpd-0.9 -DNDEBUG -O2 -march=native -flto -fwhole-program -pipe -Wall -Werror -pedantic -c -o WPSPageSpan.lo WPSPageSpan.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I/usr/include/libwpd-0.9 -DNDEBUG -O2 -march=native -flto -fwhole-program -pipe -Wall -Werror -pedantic -c WPSPageSpan.cpp -fPIC -DPIC -o .libs/WPSPageSpan.o cc1plus: all warnings being treated as errors make[3]: *** [WPS4.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... WPS8.cpp: In member function 'void WPS8Parser::readStreams(WPXInputStream*)': WPS8.cpp:162:12: error: variable 'unknown' set but not used [-Werror=unused-but-set-variable] cc1plus: all warnings being treated as errors