[Tnfox-discussion] Re: error compiling for opteron with gcc 4.0.1 at FXSQLDB.h:625
On 3 Nov 2005 at 19:55, [EMAIL PROTECTED] wrote: > TestCursor probably works ok, but I'd need to look at the source code to > see what was the intent with the hour glasses and if one was not supposed > to have a percent time associated with it. That's correct behaviour. > --- > TestEventLoops seems to work ok, except on close of the last window I get > an unhandled excption below. > [snip] > Unhandled Signal 0xb (Segmentation fault [Address not mapped to object]) > at address 0x968 - immediate exit! That's been fixed in SVN rev 603. Thanks for reporting it! > Yes, the scrollbar range change is a necessity if I will use it for the > projects at work, but for right now I'm more interested in trying to > understand how to use the extra features you've added for parallel > processing. Well it can go like a blue arsed fly when tuned. It certainly outperforms any CORBA implementation I know of. See http://www.nedprod.com/Tn/oldnews.html and bear in mind that it goes /faster/ than that now. Cheers, Niall --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Tnfox-discussion mailing list Tnfox-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tnfox-discussion
[Tnfox-discussion] Re: error compiling for opteron with gcc 4.0.1 at FXSQLDB.h:625
On 2 Nov 2005 at 20:43, [EMAIL PROTECTED] wrote: > The FXString part was ok, although it suggested FX::FXString, and it also > seems to want &l instead of &v there. Yeah, correct. Does this mean that everything is working perfectly now? I remember you were looking for larger scrollbar ranges and stuff. How important is FOX v1.6's unicode support to you? Cheers, Niall --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Tnfox-discussion mailing list Tnfox-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tnfox-discussion
[Tnfox-discussion] Re: error compiling for opteron with gcc 4.0.1 at FXSQLDB.h:625
On 2 Nov 2005 at 8:03, [EMAIL PROTECTED] wrote: > The compiler is just complaining about the lack of a declaration of > 'type'. Where are you assuming it is declared? > > template struct BindImpl<-1, isUnsignedInt, const char *> > { // A string literal. Convert to FXString and pass > BindImpl(FXSQLDBStatement *s, FXint idx, bool upgrade, const > char *&v) > { > FXString l(v); > FXSQLDB::SQLDataType > datatype=FXSQLDB::toSQL92Type(&v) ; > s->bind(idx, datatype, (void *) &l); > } > }; Hmm, good point. Try replacing FXSQLDB::toSQL92Type(&v) with FXSQLDB::toSQL92Type(&v). GCC 4.x is much better at catching errors in rarely compiled templates than other compilers. Cheers, Niall --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Tnfox-discussion mailing list Tnfox-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tnfox-discussion
[Tnfox-discussion] Re: error compiling for opteron with gcc 4.0.1 at FXSQLDB.h:625
On 1 Nov 2005 at 21:11, [EMAIL PROTECTED] wrote: > Hello Niall, > I recently got a quad opteron system and was interested in testing some of > your code. I'm compiling with the gcc 4.0.1 and in fedora 4 installation. > I pulled down the tnfox trunk from svn a couple of days ago, modified > the config.py for x64 architecture and architecture_version=0, and then > ran scons. Things were chugging along fine until it hit this build below, > where it identified an error at FXSQLDB.h:625. > [snip] > include/FXSQLDB.h: In constructor > 'FX::FXSQLDBImpl::BindImpl<-0x > 1, isUnsignedInt, const char*>::BindImpl(FX::FXSQLDBStatement*, FX::FXint, > bool, const char*&)': > include/FXSQLDB.h:625: error: 'type' was not declared in this scope > include/FXSQLDB.h:625: error: no matching function for call to > 'FX::FXSQLDB::toSQL92Type(const char**&)' > scons: *** [Debug_g++_x64_0/FXSQLDB_ipc.os] Error 1 > scons: building terminated because of errors. Bugger - I could have sworn that I had fixed that a few weeks ago. If you pull the revision list from SVN, you should see a change to that precise code at rev 584 precisely because GCC-XML (based on GCC 3.4) barfed at that exact code. Do try the old code and see if GCC 4.0.1 prefers it. If so, I fear we have another regression in GCC 4.0. > I'll have to say I'm impressed with the fairly clean build though. Except > for having to comment out that problem in the template, the lib and tests > built cleanly. Yeah I've been waiting forever for Jeroen to release FOX v1.6 so I can get it merged and TnFOX v0.86 out the door. Actually, this weekend I get some time free to work on Boost.Python itself as we're going to try for a whole new system of bindings generation using a new much improved (and beta) generator. Cheers, Niall --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Tnfox-discussion mailing list Tnfox-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tnfox-discussion