Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48853 - app-cdr/cdrdao-1.1.7-r3 fails using gcc 3.4
Summary: app-cdr/cdrdao-1.1.7-r3 fails using gcc 3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 48528
  Show dependency tree
 
Reported: 2004-04-24 00:02 UTC by LordKow
Modified: 2004-04-27 01:05 UTC (History)
0 users

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


Attachments
Patch for cdrdao-1.1.7 to compile using GCC 3.4 (cdrdao-1.1.7_gcc-3.4_fix.patch,15.15 KB, patch)
2004-04-24 00:03 UTC, LordKow
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description LordKow 2004-04-24 00:02:57 UTC
Tracks.cc initialized an array function in a way the new gcc doesnt like, so I fixed this... And for some reason they parenthesized the type-id's for declarings int's n such... gcc-3.3.3 didnt bother about it but gcc-3.4 will error out... This covered basically every dao .cc file :-/

Patch is attached.
Comment 1 LordKow 2004-04-24 00:03:35 UTC
Created attachment 29940 [details, diff]
Patch for cdrdao-1.1.7 to compile using GCC 3.4
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2004-04-24 04:13:32 UTC
_NOT_ amd64 specific, changed Hardware to "All".
Comment 3 Sebastian Dröge 2004-04-24 04:49:56 UTC
this patch is also valid for cdrdao-1.1.8-r1
Comment 4 LordKow 2004-04-24 10:02:37 UTC
Yea I didnt know if it works in 1.1.8 because there is an arch specific bug I believe in 1.1.8, it looks like it cannot figure out the directory structure when gcc is compiled on an amd64... Anyways I know 1.1.7-r3 works, I may look at 1.1.8 as I'm in the process of emerging -e world atm after I emerged gcc 3.4. :)
Comment 5 SpanKY gentoo-dev 2004-04-27 01:05:04 UTC
added to 1.1.7-r3, 1.1.8, and 1.1.8-r1

thanks :)