Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131829 - games-board/slibo does not emerge with gcc-4.1
Summary: games-board/slibo does not emerge with gcc-4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-04-30 14:25 UTC by Tupone Alfredo
Modified: 2006-04-30 14:51 UTC (History)
1 user (show)

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 Tupone Alfredo gentoo-dev 2006-04-30 14:25:29 UTC
while emerging slibo I get 

search.c: In function 
Comment 1 Tupone Alfredo gentoo-dev 2006-04-30 14:25:29 UTC
while emerging slibo I get 

search.c: In function search:
search.c:285: error: invalid lvalue in assignment

The file is in slibo-0.4.4/src/sliboengine

offending line is :
    (ply <= 0) ? stats.qPos : stats.pos += lastMove - firstMove;

I substituted with 

    if (ply > 0) {
      stats.pos += lastMove - firstMove;
    }

slibo emerge with that changes. I think is ok but I prefer a confirmation
Comment 2 Tupone Alfredo gentoo-dev 2006-04-30 14:51:54 UTC
Change now in portage.