I'm attaching a gcc4 fix from Debian.
Created attachment 55807 [details, diff]
Created attachment 55808 [details, diff]
sorry for how long it took me to look at this.
I'll have a look and add a new version to portage soon (if I get the time I'll
try it with gcc4 too with the diff but atm i don't have it installeD)
added 0.5.10 to CVS. please let me know if this gcc4 fix is still needed. thanks
Just tested compiling with gcc-4.1, works ok.