Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 420947

Summary: games-board/openyahtzee fails to build with gcc-4.7
Product: Gentoo Linux Reporter: Bernard Cafarelli <voyageur>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 451458, 451468    
Bug Blocks: 390247    

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