Why we chose not to use D for our Linux project

Lars Ivar Igesund larsivar at igesund.net
Tue May 20 15:09:46 PDT 2008


Marcin Kuszczak wrote:

>> Indeed, and DDBI always compiles with the correct combination of compiler
>> and Tango :)
> 
> Nope, ddbi does not compile with current version of Tango. You did not
> test at least sqlite backend. Below you can see part of SqliteDatabase.d
> from trunk version of DDBI:
> 
> version (Phobos) {
>     private import std.string : toDString = toString, toCString =
>     toStringz; debug (UnitTest) private import std.stdio;
> } else {
>     private import tango.stdc.stringz : toDString = fromUtf8z, toCString =
> toUtf8z;
>     private import tango.util.log.Log;
> }
> 
> Do you see problem?: fromUtf8z and toUtf8z already do not exist in Tango.
> 
> In Sqlite backend, there is another problem - there is method:
> bool execute(StatementBinder binder) but StatementBinder is not committed
> to SVN.
> 
> 

Oh my, that is embarrassing. I had a mix and match dev version of Tango
installed, and so neither mysql nor sqlite backends compiled with a recent,
clean Tango. I have fixed mysql for now, whereas there is more work in line
to get the sqlite backend working. The rest of the backends I'm not even
likely to test very soon (maybe pgsql), and should be considered
unsupported.

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango



More information about the Digitalmars-d mailing list