|Summary:||games-util/atlas: fails to build with gcc-4.4|
|Product:||Gentoo Linux||Reporter:||Diego Elio Pettenò (RETIRED) <flameeyes>|
|Component:||New packages||Assignee:||Gentoo Games <games>|
|Package list:||Runtime testing required:||---|
|Bug Depends on:|
Snapshot from CVS which appears to be working.
Description Diego Elio Pettenò (RETIRED) 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: http://blog.flameeyes.eu/2009/07/02/how-_not_-to-fix-gcc-4-4-bugs
Comment 1 Diego Elio Pettenò (RETIRED) 2009-08-03 22:39:17 UTC
Created attachment 200067 [details] Build log
Comment 2 Samuli Suominen (RETIRED) 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) 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) 2009-08-12 19:51:54 UTC
in portage. thanks for the ebuild.