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.
Created attachment 60265 [details, diff] When used as a lvalue, don't use the macro which does casting
Created attachment 63756 [details, diff] Don't cast lvalues. Patch against libggi-2.2.1.
Thanks applied to CVS.