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:
Created attachment 31191 [details, diff] Patch to fix compilation error
I have this problem to can a new ebuild be created? Thanks Colin
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.
That ebuild worked for me, thanks!
I think this problem has been solved already, hasn't it? Just emerged orange from Portage with gcc-3.4.3.
Yup, compiles here for me as well.