Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374383 - =app-text/libwps-0.2.2: fails to build with gcc-4.6
Summary: =app-text/libwps-0.2.2: fails to build with gcc-4.6
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNOME Office (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.6
  Show dependency tree
 
Reported: 2011-07-07 19:40 UTC by Matt Turner
Modified: 2011-07-07 19:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,12.76 KB, text/plain)
2011-07-07 19:40 UTC, Matt Turner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Turner gentoo-dev 2011-07-07 19:40:11 UTC
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
Comment 1 Matt Turner gentoo-dev 2011-07-07 19:45:45 UTC
I just switched my gcc profile around a few times and now it works..