On Sun, 2007-09-09 at 14:48 -0700, Erick Tryzelaar wrote: > This is very strange, and I think possibly another inlining bug. If I run > this: > > #import <flx.flxh> > val fzero = 0.0f; > println $ (1.0f/fzero); > > It returns "inf". But if I use the mk pipeline: > > > bin/flxg -Ilib std foo > > g++ -fPIC -bundle -c -fno-common -Wall -Wno-invalid-offsetof -Wfatal-errors > > -g -O3 -fomit-frame-pointer --inline -Irtl -o foo_dynamic.o foo.cpp > > g++ -bundle -o foo.so foo_dynamic.o -Lrtl -lflx_dynamic -lflx_gc_dynamic > > bin/flx_run foo.so > > It returns "+inf". All very mysterious. Are you getting this on your end?
Nope, I get: [EMAIL PROTECTED]:/work/felix/svn/felix/felix/trunk$ f er2 +inf where my 'f' bash command uses --force to ensure everything is recompiled every time. In fact, this does NOT reparse everything, in particular it doesn't re-parse the standard library, that's probably a bug (but it saves heaps of time ..) -- John Skaller <skaller at users dot sf dot net> Felix, successor to C++: http://felix.sf.net ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language