[Tnfox-discussion] Re: error compiling for opteron with gcc 4.0.1 at FXSQLDB.h:625

2005-11-03 Thread Niall Douglas
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

2005-11-02 Thread Niall Douglas
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?
 
 templatebool isUnsignedInt 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::toSQL92Typetype(v) ;
   s-bind(idx, datatype, (void *) l);
   }
   };

Hmm, good point. Try replacing FXSQLDB::toSQL92Typetype(v) with 
FXSQLDB::toSQL92TypeFXString(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