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>
Severity: normal CC: anton.kochkov
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
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/ In member function ‘virtual void yafray::threadedscene_t::render(yafray::colorOutput_t&)’:
src/yafraycore/ erreur: ‘getpid’ was not declared in this scope
src/yafraycore/ 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.