Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 5750

Summary: Coldsync and GCC 3.1
Product: Gentoo Linux Reporter: Matt Matthews <jvm>
Component: [OLD] GamesAssignee: Matthew Turk (RETIRED) <satai>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to ebuild to apply the gcc3 patch
patch to let coldsync build under gcc 3.1

Description Matt Matthews 2002-07-29 17:11:55 UTC
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 Owen Stampflee (RETIRED) gentoo-dev 2002-07-30 17:09:24 UTC
Bugzilla sucks and reassigned the wrong bug to danarmak...I'm taking this one 
back. 
Comment 2 jdm 2002-08-02 14:45:16 UTC
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 jdm 2002-08-12 14:53:29 UTC
Created attachment 3028 [details, diff]
patch to ebuild to apply the gcc3 patch
Comment 4 jdm 2002-08-12 14:55:28 UTC
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.
Comment 5 Matthew Turk (RETIRED) gentoo-dev 2002-08-15 01:06:21 UTC
Added a couple things to make it work; including a cd ${S}.  Bumped revision, 
committed.