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

Bug 420975

Summary: =media-gfx/yafray-0.0.9-r1 fails to build with gcc 4.7
Product: Gentoo Linux Reporter: Bernard Cafarelli <voyageur>
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: anton.kochkov
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 390247    

Description Bernard Cafarelli gentoo-dev 2012-06-13 12:53:58 UTC
src/yafraycore/threadedscene.cc: In member function ‘virtual void yafray::threadedscene_t::render(yafray::colorOutput_t&)’:
src/yafraycore/threadedscene.cc:157:34: erreur: ‘getpid’ was not declared in this scope
src/yafraycore/threadedscene.cc:209:33: erreur: ‘getpid’ was not declared in this scope

Including <unistd.h> (standard fix suggested by gcc upstream) works fine
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2012-09-17 00:55:14 UTC
Fixed, but I'd be surprised if this package actually works as intended with the amount of overflow warnings.  This thing should be killed in favour of the blender plugin.