Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77060 - chasen patch for lvalue cast considered illegal by ANSI C++ and gcc 3.4.3
Summary: chasen patch for lvalue cast considered illegal by ANSI C++ and gcc 3.4.3
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Markus Rothe (RETIRED)
Depends on:
Reported: 2005-01-07 12:41 UTC by Robert Coie (RETIRED)
Modified: 2005-02-24 10:57 UTC (History)
1 user (show)

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

cast patch (chasen-2.4.0_pre1-cppsyn.patch,594 bytes, patch)
2005-01-07 12:44 UTC, Robert Coie (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Coie (RETIRED) gentoo-dev 2005-01-07 12:41:35 UTC
Both chasen 2.3.3-r3 and 2.4.0_pre1 have a bizarre cast on the left hand side
of an assignment, that will not compile for me with gcc 3.4.3.  The attached
one-line patch is, I believe, semantically equivalent to the existing code.
The question of why the cast must happen at all is a bit more involved, and
I figured I would go for the principle of least intrusive modification instead
of changing template declarations.
Comment 1 Robert Coie (RETIRED) gentoo-dev 2005-01-07 12:44:03 UTC
Created attachment 47892 [details, diff]
cast patch
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-01-19 20:17:56 UTC
corsair: you seem to add gcc34 patch to chasen.
Will you please check this one?
Comment 3 Markus Rothe (RETIRED) gentoo-dev 2005-01-20 12:27:07 UTC
I don't have gcc-3.4.3 installed at the moment.

Though I'm willing to test this. Give me some days and this will be fixed! :-)

Comment 4 Markus Rothe (RETIRED) gentoo-dev 2005-01-22 11:21:24 UTC
I just saw that this was fixed by me in chasen-2.4.0_pre1-r1. I compiled -r1
without problems using gcc-3.4.3-r1.

Can you please try that version?


P.S.: The patch is different, but should do the same. If you convince me, that
your code is better, I'll change the patch. ;-)
Comment 5 Markus Rothe (RETIRED) gentoo-dev 2005-02-08 04:03:50 UTC
please test and report back!
Comment 6 Markus Rothe (RETIRED) gentoo-dev 2005-02-24 10:57:17 UTC
marking as INVALID as nobody answeres...
Comment 7 Markus Rothe (RETIRED) gentoo-dev 2005-02-24 10:57:25 UTC