Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420975 - =media-gfx/yafray-0.0.9-r1 fails to build with gcc 4.7
Summary: =media-gfx/yafray-0.0.9-r1 fails to build with gcc 4.7
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
Depends on:
Blocks: gcc-4.7
  Show dependency tree
Reported: 2012-06-13 12:53 UTC by Bernard Cafarelli
Modified: 2012-09-17 00:55 UTC (History)
1 user (show)

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


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 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.