Bug 5750 - Coldsync and GCC 3.1
Bug#: 5750 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: satai@gentoo.org Reported By: jvm@linuxgames.com
Component: Games
URL: 
Summary: Coldsync and GCC 3.1
Keywords:  
Status Whiteboard: 
Opened: 2002-07-29 17:11 0000
Description:   Opened: 2002-07-29 17:11 0000
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.

------- Comment #1 From Owen Stampflee 2002-07-30 17:09:24 0000 -------
Bugzilla sucks and reassigned the wrong bug to danarmak...I'm taking this one 
back. 

------- Comment #2 From jdm@europa.com 2002-08-02 14:45:16 0000 -------
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.

------- Comment #3 From jdm@europa.com 2002-08-12 14:53:29 0000 -------
Created an attachment (id=3028) [details]
patch to ebuild to apply the gcc3 patch

------- Comment #4 From jdm@europa.com 2002-08-12 14:55:28 0000 -------
Created an attachment (id=3030) [details]
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.

------- Comment #5 From Matthew Turk (RETIRED) 2002-08-15 01:06:21 0000 -------
Added a couple things to make it work; including a cd ${S}.  Bumped revision, 
committed.