Gcc 4.1 and linux
by Davin · in Torque Game Engine · 01/03/2007 (8:26 pm) · 1 replies
Hi guys, took a bit of fiddling but i wanted to get the lastest CVS snapshot to work with a current gcc on linux.
in gcc 4.x there has been a different way of implementing name lookups, and this has caused a drama for gcc 4.x users (including XCode). see http://www.dis.com/gnu/gcc/Name-lookup.html.
I have created a diff against the latest CVS as it exists today (not that it has changed much in the last 12+ months). I use gcc 4.1 and have successfully built the CVS snapshot w/o major errors (there still exists initialization warnings in libtomcrypt with functions s[0..3]).
The character limit appears too small to post a diff, so perhaps this is not the right forum to send the patch too. Would anyone know who I should send this patch too? It would appear there are a few users experiencing these problems and would be good to get sorted in the CVS tree?
in gcc 4.x there has been a different way of implementing name lookups, and this has caused a drama for gcc 4.x users (including XCode). see http://www.dis.com/gnu/gcc/Name-lookup.html.
I have created a diff against the latest CVS as it exists today (not that it has changed much in the last 12+ months). I use gcc 4.1 and have successfully built the CVS snapshot w/o major errors (there still exists initialization warnings in libtomcrypt with functions s[0..3]).
The character limit appears too small to post a diff, so perhaps this is not the right forum to send the patch too. Would anyone know who I should send this patch too? It would appear there are a few users experiencing these problems and would be good to get sorted in the CVS tree?
Torque Owner Brian Jones
I stumbled in here because I was trying to build the latest tarball against gcc 4, and was hoping that there was a working solution cvs. I guess not, beyond Davin's diff? Is the project still alive?