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

Bug 280236

Summary: games-util/atlas: fails to build with gcc-4.4
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo Games <games>
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 249226    
Attachments: Build log
Snapshot from CVS which appears to be working.

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-03 22:37:46 UTC
As per summary, check attached build log.

And _please_ try not to fix it in the wrong way:
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-03 22:39:17 UTC
Created attachment 200067 [details]
Build log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-08-11 08:44:57 UTC
Where it's now doing '#include SG_GLUT_H' it needs a '#include <GL/glut.h>'
And where it's doing 'SG_USING_STD(vector);' it needs a 'using std::vector;'

It's because the preprocessor is failing here.. But that's not all, it's also using "max", "mix" where it should use std::max and std::min, or you need to
do 'using namespace std;' in those files alternatively but that might end up
doing something unwanted too.

That said, there's one error I couldn't figure out so sorry for not attaching a patch here.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-08-12 13:46:19 UTC
Created attachment 201024 [details]
Snapshot from CVS which appears to be working.

They don't use the 'lowres' directory anymore, so removed the directive to that... Started it without FlightGear and it appears to be working.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2009-08-12 19:51:54 UTC
in portage.  thanks for the ebuild.