[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] Boost compliation problem
From: |
strk |
Subject: |
Re: [Gnash-dev] Boost compliation problem |
Date: |
Mon, 12 Feb 2007 11:00:06 +0100 |
On Mon, Feb 12, 2007 at 10:54:49AM +0100, Udo Giacomozzi wrote:
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../backend -I../../server
> -I../../server/swf -I../../server/parser -I../../server/vm -I../../libbase
> -I../../libgeometry -I../../libamf -I../../libltdl -I../.. -pthread
> -I/usr/include -I/usr/include/libxml2 -g -O2 -pthread -march=athlon-xp -W
> -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT Global.lo
> -MD -MP -MF .deps/Global.Tpo -c Global.cpp -fPIC -DPIC -o .libs/Global.o
> Global.cpp: In function `void gnash::as_global_trace(const gnash::fn_call&)':
> Global.cpp:94: warning: too many arguments for format
> Global.cpp:94: warning: too many arguments for format
> Global.cpp: In function `void gnash::as_global_isnan(const gnash::fn_call&)':
> Global.cpp:110: warning: too many arguments for format
> Global.cpp:110: warning: too many arguments for format
> Global.cpp: In function `void gnash::as_global_isfinite(const gnash::fn_call&)
> ':
It seems these are due to this call:
log_aserror(__FUNCTION__, " needs one argument");
I'd give the same error if I was a compiler, but Rob seems to be
getting an error using the form:
log_aserror(__FUNCTION__ " needs one argument");
Which was the originally committed, and the more correct looking
for me. The only thing I can think of is rob is getting a different
definition from tu_types.h :
#ifndef HAVE_FUNCTION
#ifndef HAVE_func
#define dummystr(x) # x
#define dummyestr(x) dummystr(x)
#define __FUNCTION__ __FILE__":"dummyestr(__LINE__)
#else
#define __FUNCTION__ __func__
#endif
#endif
--strk;