I have a system using GCC 3.1 and to compile coldsync, I had to add a using directive to the beginning of src/symboltable.cc. In particular, I put "using namespace std;" before #include "config.h" at line 10 in symboltable.cc With this fix, it compiled and seems to work with my Handspring Visor over USB.
Bugzilla sucks and reassigned the wrong bug to danarmak...I'm taking this one back.
i just ran into this one also. it wasn't clear that the coldsync build had failed though since emerge didn't give me any errors. /usr/bin/coldsync just didn't exist.
Created attachment 3028 [details, diff] patch to ebuild to apply the gcc3 patch
Created attachment 3030 [details, diff] patch to let coldsync build under gcc 3.1 with these two patches, coldsync builds correctly on my gcc 3.1 system. i don't have a gentoo system with the older gcc on it to verify that it still builds with gcc 2.95.
Added a couple things to make it work; including a cd ${S}. Bumped revision, committed.