Thread overview
DOSNEWSIZE Error
May 08, 2014
Jack
May 08, 2014
Arjan
May 09, 2014
Jack
May 08, 2014
I had a compiler error with just a "DOSNEWSIZE Error" with no more information.

Code: http://pastebin.com/UDAgmjtx

I was trying to learn to implement SQLite connections to a local file with only the path to the file and no port or localhost nonesense from this :

https://github.com/buggins/ddbc/wiki

I tried a google search about the error but so far it landed me into a post with no replies, and various other non-D related posts.
May 08, 2014
On Thursday, 8 May 2014 at 14:49:09 UTC, Jack wrote:
> I had a compiler error with just a "DOSNEWSIZE Error" with no more information.
>
> Code: http://pastebin.com/UDAgmjtx
>
> I was trying to learn to implement SQLite connections to a local file with only the path to the file and no port or localhost nonesense from this :
>
> https://github.com/buggins/ddbc/wiki
>
> I tried a google search about the error but so far it landed me into a post with no replies, and various other non-D related posts.

Optlink error.
Are you builing a x86_32 exe or x86_64 exe?
when 32 bits use the dmd -m32 and make sure to use omf libs.
when 64 bits don not use optlink but MS VS link.exe and use coff libs.



May 09, 2014
On Thursday, 8 May 2014 at 21:10:34 UTC, Arjan wrote:
> On Thursday, 8 May 2014 at 14:49:09 UTC, Jack wrote:
>> I had a compiler error with just a "DOSNEWSIZE Error" with no more information.
>>
>> Code: http://pastebin.com/UDAgmjtx
>>
>> I was trying to learn to implement SQLite connections to a local file with only the path to the file and no port or localhost nonesense from this :
>>
>> https://github.com/buggins/ddbc/wiki
>>
>> I tried a google search about the error but so far it landed me into a post with no replies, and various other non-D related posts.
>
> Optlink error.
> Are you builing a x86_32 exe or x86_64 exe?
> when 32 bits use the dmd -m32 and make sure to use omf libs.
> when 64 bits don not use optlink but MS VS link.exe and use coff libs.

-m32 did the trick. Thanks again