SQLLite driver

Suliman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Dec 13 12:21:49 PST 2014


On the code.dlang.org I found SQLLite driver 
https://github.com/biozic/d2sqlite3

Look like it's not ready for Windows:
  pragma(msg, "\nWARNING !!!\nDevelopped for POSIX systems 
only.\nNot tested on Windows.\n");

I tried to add import to my project and I got next errors:

C:\Users\Dima\AppData\Roaming\dub\packages\d2sqlite3-0.5.2\source\d2sqlite3.d(49
): Error: 'std.conv.to!string.to!(immutable(char)*).to' is not 
nothrow
C:\Users\Dima\AppData\Roaming\dub\packages\d2sqlite3-0.5.2\source\d2sqlite3.d(47
): Error: function 'd2sqlite3.Sqlite3.versionString' is nothrow 
yet may throw
C:\Users\Dima\AppData\Roaming\dub\packages\d2sqlite3-0.5.2\source\d2sqlite3.d(30
5): Error: 'std.conv.to!string.to!(immutable(char)*).to' is not 
nothrow
............................
FAIL 
C:\Users\Dima\AppData\Roaming\dub\packages\d2sqlite3-0.5.2\.dub\build\libra
ry-debug-windows-x86-dmd_2065-008207FF175573C9097C24CC59516A1C\ 
d2sqlite3 static
Library
Error executing command run: dmd failed with exit code 1.

Is there any other SQLLite drivers ready to use for D?


More information about the Digitalmars-d-learn mailing list