-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 I won't commit it, since it runs fine on OS X for me and under about every other OS. gcc/g++-4.0.0 is known to have regressions.
Holger Wächtler wrote: > impossible due to limited disc space and user restrictions. > > Even if this may sound like a quite radical warning, casting a > <double> to an <enum> is not quite ANSI-conform, even a simple ANSI > C compiler would complain. Could you please show me, where the ANSI > C++ spec explicitly allows such implicit casts of incompatible > types? Regards, > > > On 8/31/07, Markus Gothe <[EMAIL PROTECTED]> wrote: >> You should upgrade to g++-4.0.1 as this is obviously a compiler >> bug... >> >> On 30 Aug, 2007, at 23:10 , Holger WÀchtler wrote: >> >>> Attached patch is required to build gnash on OS-X with >>> g++-4.0.0 20041026 (Apple), otherwise build will die with: >>> >>> ---------------------------------- mv -f .deps/string.Tpo >>> .deps/string.Plo /bin/sh ../../libtool --tag=CXX >>> --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../backend >>> -I../../server -I../../server/swf -I../../server/parser >>> -I../../server/vm -I../../libbase -I../../libgeometry >>> -I../../libamf -I../../libltdl -I../.. -D_THREAD_SAFE >>> -I/Users/holger/gnash/build/include >>> -I/Users/holger/gnash/build/include >>> -I/Users/holger/gnash/build//include/boost-1_34_1 >>> -I/Users/holger/gnash/build/include/libxml2 >>> -I/Users/holger/gnash/build/include >>> -I/Users/holger/gnash/build/include >>> -I/Users/holger/gnash/build/include -D_THREAD_SAFE >>> -I/Users/holger/gnash/build/include -D_THREAD_SAFE -W >>> -Wall -Wcast-align -Wcast-qual -Wpointer-arith >>> -Wreturn-type -MT xml.lo -MD -MP -MF .deps/xml.Tpo -c -o xml.lo >>> xml.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../backend >>> -I../../server -I../../server/swf -I../../server/parser >>> -I../../server/vm -I../../libbase -I../../libgeometry >>> -I../../libamf -I../../libltdl -I../.. -D_THREAD_SAFE >>> -I/Users/holger/gnash/build/include >>> -I/Users/holger/gnash/build/include >>> -I/Users/holger/gnash/build//include/boost-1_34_1 >>> -I/Users/holger/gnash/build/include/libxml2 >>> -I/Users/holger/gnash/build/include >>> -I/Users/holger/gnash/build/include >>> -I/Users/holger/gnash/build/include -D_THREAD_SAFE >>> -I/Users/holger/gnash/build/include -D_THREAD_SAFE -W -Wall >>> -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT >>> xml.lo -MD -MP -MF .deps/xml.Tpo -c xml.cpp -o xml.o xml.cpp: >>> In member function `virtual void gnash::XML::set_member(const >>> std::string&, const gnash::as_value&)': xml.cpp:158: error: >>> invalid cast from type 'double' to type 'gnash::XML::Status' >>> make[3]: *** [xml.lo] Error 1 >>> ----------------------------------<gnash-cast-patch.diff> >> >> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG2AgH6I0XmJx2NrwRCI37AJ9pvSRuaHmiHAYLabpQSncrlbtmkgCgrErw RiXIvUEhz88HwLbEmIJWR/Q= =IMxy -----END PGP SIGNATURE----- _______________________________________________ Gnash-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-dev

