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

Bug 77060

Summary: chasen patch for lvalue cast considered illegal by ANSI C++ and gcc 3.4.3
Product: Gentoo Linux Reporter: Robert Coie (RETIRED) <rac>
Component: New packagesAssignee: Markus Rothe (RETIRED) <corsair>
Status: VERIFIED INVALID    
Severity: normal CC: cjk
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: cast patch

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! :-)

Markus
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?

Markus

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
closing