Doug Crompton on 12 Dec 2005 02:52:10 -0000 |
Somewhat answering my own question... FC4 shipped with GCC4 which the developers decided to make "-w pendantic" warnings now be errors. It's a PITA because it now breaks a lot of code over some semantic interpretation of being ANSI standard code. I don't know the best solution other than to go back to an earlier version of gcc. So what is the answer. I suppose there is no compiler switch to fix this? Doug On Sun, 11 Dec 2005, Doug Crompton wrote: > I am trying to compile xine-hd on SUSE 10 and I get the following errors > which seem odd... any ideas? > > It seems to me I saw something about a gcc version problem but I cannot > locate it now. > > Doug > > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include > -I../../include -I../../src -I../../src/xine-engine > -I../../src/xine-engine -I../../src/xine-utils -I../../src/input > -I../../src/input -I/usr/X11R6/include -mtune=pentiumpro -O3 -pipe > -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 > -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 > -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall > -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE > -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts > -Wmissing-declarations -Wmissing-prototypes -c color.c -MT color.lo -MD > -MP -MF .deps/color.TPlo -fPIC -DPIC -o .libs/color.o > color.c: In function 'vscale_chroma_line': > color.c:498: error: invalid lvalue in increment > color.c:499: error: invalid lvalue in increment > make[3]: *** [color.lo] Error 1 > make[3]: Leaving directory > `/usr/src/xine-hd/xine-hd-lib-1-rc6a/src/xine-utils' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/usr/src/xine-hd/xine-hd-lib-1-rc6a/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/xine-hd/xine-hd-lib-1-rc6a' > make: *** [all] Error 2 > > > ___________________________________________________________________________ > Philadelphia Linux Users Group -- http://www.phillylinux.org > Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce > General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug > "Those that sacrifice essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin (1759) **************************** * Doug Crompton * * Richboro, PA 18954 * * 215-431-6307 * * * * doug@crompton.com * * http://www.crompton.com * **************************** ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|