0.8.1 compile issue [message #805] |
Sun, 15 April 2007 08:33 |
|
Hi!
I just downloaded the new release and was going about compiling it on OS X 10.4.9 (PPC) GCC 4.0 and I get this error:
if g++ -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -ffast-math -I.. -I../include -I../intl -I/usr/local/include -I/usr/local/include -Wall -Winline -Wshadow -fomit-frame-pointer -finline-limit=6000 --param large-function-growth=800 --param inline-unit-growth=175 --param max-inline-insns-single=10000 -g -O2 -I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -faltivec -maltivec -faltivec -maltivec -g -O2 -MT selblur.o -MD -MP -MF "$depbase.Tpo" -c -o selblur.o selblur.cpp; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
selblur.cpp: In function 'void MDFN_SelBlur(SelBlurImage*)':
selblur.cpp:85: error: expected unqualified-id before '=' token
selblur.cpp:85: error: expected primary-expression before '__attribute__'
selblur.cpp:85: error: expected `)' before '__attribute__'
selblur.cpp:85: error: expected primary-expression before '__attribute__'
selblur.cpp:85: error: expected `)' before '__attribute__'
selblur.cpp:85: error: expected primary-expression before '__attribute__'
selblur.cpp:85: error: expected `)' before '__attribute__'
selblur.cpp:106: error: expected unqualified-id before '=' token
selblur.cpp:106: error: expected primary-expression before '__attribute__'
selblur.cpp:106: error: expected `)' before '__attribute__'
selblur.cpp:106: error: expected primary-expression before '__attribute__'
selblur.cpp:106: error: expected `)' before '__attribute__'
selblur.cpp:106: error: expected primary-expression before '__attribute__'
selblur.cpp:106: error: expected `)' before '__attribute__'
selblur.cpp:43: warning: unused variable 'threshold'
selblur.cpp:48: warning: unused variable 'source'
selblur.cpp:49: warning: unused variable 'source_pitch32'
make[2]: *** [selblur.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
locoland:~/src/mednafen/mednafen jbl$
My config line goes like so: ./configure --prefix=/usr/local --disable-debugger
any ideas?
|
|
Re: 0.8.1 compile issue [message #806 is a reply to message #805 ] |
Sun, 15 April 2007 15:32 |
|
That code isn't currently used(it may be in the future, I don't know, it's very slow), so you could comment it out like so:
#ifdef MOO
<contents of file>
#endif
|
|