Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420947 - games-board/openyahtzee fails to build with gcc-4.7
Summary: games-board/openyahtzee fails to build with gcc-4.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on: 451458 451468
Blocks: gcc-4.7
  Show dependency tree
 
Reported: 2012-06-13 08:40 UTC by Bernard Cafarelli
Modified: 2013-01-28 01:17 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Cafarelli gentoo-dev 2012-06-13 08:40:23 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..    -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -march=native -O2 -pipe -MT DBwrapper.o -MD -MP -MF .deps/DBwrapper.Tpo -c -o DBwrapper.o DBwrapper.cpp
DBwrapper.cpp: In member function ‘std::list<std::basic_string<char> > DBwrapper::Query(std::string, int)’:
DBwrapper.cpp:116:5: error: ‘::usleep’ has not been declared

Following http://gcc.gnu.org/gcc-4.7/porting_to.html, including <unistd.h> fixes the compilation
Comment 1 Tupone Alfredo gentoo-dev 2012-10-25 09:47:02 UTC
Fixed on the new unstable version.
Need to file a stable request if appropriate.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2013-01-28 01:17:27 UTC
use openyahtzee-1.9.1