Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50769 - orange-0.2-r1 fails to compile with gcc-3.4.0
Summary: orange-0.2-r1 fails to compile with gcc-3.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (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-05-11 09:57 UTC by Robert Moss (RETIRED)
Modified: 2005-04-05 14:48 UTC (History)
1 user (show)

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


Attachments
Patch to fix compilation error (orange-0.2-gcc34.patch,1.49 KB, patch)
2004-05-11 09:57 UTC, Robert Moss (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Moss (RETIRED) gentoo-dev 2004-05-11 09:57:04 UTC
As of gcc-3.4.0, the use of cast expressions as lvalues is deprecated. This breaks compilation of orange, as it puts -Werror in its CFLAGS and uses the deprecated structure.

The attached patch removes the -Werror flag from {lib,src}/Makefile.{in,am} .

Reproducible: Always
Steps to Reproduce:
Comment 1 Robert Moss (RETIRED) gentoo-dev 2004-05-11 09:57:46 UTC
Created attachment 31191 [details, diff]
Patch to fix compilation error
Comment 2 Colin Tinker 2004-05-20 13:30:24 UTC
I have this problem to can a new ebuild be created?

Thanks

Colin
Comment 3 Robert Moss (RETIRED) gentoo-dev 2004-05-20 16:33:21 UTC
There's one available here, extract it to your portage overlay:

http://home.jesus.ox.ac.uk/~rmoss/portage/local/app-pda/orange/tarball-orange.tar.bz2

There's plenty of other gcc-3.4.0 fixes in there too. Feel free to use what you want.
Comment 4 Dice Random 2004-06-01 17:30:27 UTC
That ebuild worked for me, thanks!
Comment 5 Marcelo Goes (RETIRED) gentoo-dev 2005-04-05 14:29:29 UTC
I think this problem has been solved already, hasn't it?
Just emerged orange from Portage with gcc-3.4.3.
Comment 6 Mark Loeser (RETIRED) gentoo-dev 2005-04-05 14:48:23 UTC
Yup, compiles here for me as well.