Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94600 - libggi-2.1.1 doesn't compile (gcc4)
Summary: libggi-2.1.1 doesn't compile (gcc4)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-31 03:41 UTC by Håvard Wall
Modified: 2005-11-03 17:11 UTC (History)
0 users

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


Attachments
When used as a lvalue, don't use the macro which does casting (libggi-2.1.0-gcc4.patch,2.48 KB, patch)
2005-05-31 05:01 UTC, Håvard Wall
Details | Diff
Don't cast lvalues. (libggi-2.1.1-gcc4.patch,1.90 KB, patch)
2005-07-19 01:52 UTC, Håvard Wall
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Håvard Wall 2005-05-31 03:41:23 UTC
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include
-I/usr/include -march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse
-m3dnow -mfpmath=sse -ffast-math -I/usr/include -D_REENTRANT -D_THREAD_SAFE -MT
visual.lo -MD -MP -MF .deps/visual.Tpo -c visual.c  -fPIC -DPIC -o visual.lo
visual.c: In function 'GGIopen':
visual.c:127: error: invalid lvalue in assignment
make[3]: *** [visual.lo] Error 1


Reproducible: Always
Steps to Reproduce:
1. emerge =media-libs/libggi-2.1.0

Actual Results:  
Compilation stops

Expected Results:  
Compiled.
Comment 1 Håvard Wall 2005-05-31 05:01:17 UTC
Created attachment 60265 [details, diff]
When used as a lvalue, don't use the macro which does casting
Comment 2 Håvard Wall 2005-07-19 01:52:22 UTC
Created attachment 63756 [details, diff]
Don't cast lvalues.

Patch against libggi-2.2.1.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-11-03 17:11:26 UTC
Thanks applied to CVS.