gnash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash] gcc 4.2.3 - Global.cpp:633: error: crosses initialization


From: strk
Subject: Re: [Gnash] gcc 4.2.3 - Global.cpp:633: error: crosses initialization
Date: Sat, 3 May 2008 21:34:06 +0200

On Sat, May 03, 2008 at 09:30:11PM +0200, Olaf Klemke wrote:
> 
> --- strk <address@hidden> schrieb:
> 
> > On Sat, May 03, 2008 at 07:27:09PM +0200, Olaf Klemke wrote:
> > > 
> > > --- strk <address@hidden> schrieb:
> > > 
> > > > On Sat, May 03, 2008 at 06:20:28PM +0200, Olaf Klemke wrote:
> > > > 
> > > > > character.cpp:397: error: 'isfinite' was not declared in this
> > scope
> > > > 
> > > > Does including "as_value.h" in character.cpp fixes this ?
> > 
> > Is HAVE_ISFINITE defined in gnashconfig.h ?
> > Does std::isfinite work ?
> > 
> > --strk;
> > 
> 
> Yes but without value.
> 
> /* Has isfinite */
> #define HAVE_ISFINITE
> 
> How can I test it? std::isfinite

mmm, change the 'isfinite' to 'std::isfinite' on line 397.
Try also including <cmath>.

> configure:33424: checking for isfinite
> configure:33450: gcc -o conftest  -std=gnu99    -Wl,--as-needed
> conftest.c -lrt -lm  >&5
> configure:33456: $? = 0
> configure:33474: result: yes

The configure check uses gcc and -std=gnu99, we're using g++ :

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]