Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5750 - Coldsync and GCC 3.1
Summary: Coldsync and GCC 3.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Matthew Turk (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-29 17:11 UTC by Matt Matthews
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to ebuild to apply the gcc3 patch (coldsync-2.2.5.ebuild.diff,372 bytes, patch)
2002-08-12 14:53 UTC, jdm
Details | Diff
patch to let coldsync build under gcc 3.1 (coldsync-2.2.5-gcc3.diff,295 bytes, patch)
2002-08-12 14:55 UTC, jdm
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.