[Top][All Lists]

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

[Gnash-dev] bad lexical cast in as_value.cpp

From: Andrea Palmatè
Subject: [Gnash-dev] bad lexical cast in as_value.cpp
Date: Sun, 28 Jun 2009 19:07:37 +0200


with this swf

(don't worry is a funny not pron game.. :) i receive a bad lexical cast in functiont ::to_number just before the return

i've print the string with cout:

std::cout << "string:" << s << " - " << pos << " - " << s.substr(pos) << std::endl;
                return boost::lexical_cast<double>(s.substr(pos));

and i receive:

string:flashframe19 - 0 - flashframe19 (and other string)

is this normal? is the same on linux?
Will the catch reached using return?


reply via email to

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