Beta D 2.069.0-b1
Szymon Gatner via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Wed Oct 14 05:26:34 PDT 2015
On Wednesday, 14 October 2015 at 12:05:28 UTC, Szymon Gatner
wrote:
> On Wednesday, 14 October 2015 at 11:39:26 UTC, Szymon Gatner
> wrote:
>> On Tuesday, 13 October 2015 at 20:10:22 UTC, Rainer Schuetze
>> wrote:
>>> [...]
>>
>> I am trying (as with every new release ;)) to link static D
>> library to existing C++ project and I am having same issue:
>>
>> Error 2 error LNK2019: unresolved external symbol _snprintf
>> referenced in function
>> _D2gc6config13__T5parseHTfZ5parseFNbNiAxaKAxaKfZb C:\Users\Bravo\documents\visual studio 2012\Projects\ConsoleApplication1\ConsoleApplication1\phobos32mscoff.lib(config_48f_452.obj) ConsoleApplication1
>>
>> _minfo_beg, _minfo_end problems were solved by adding main()
>> to D library so this is only porblem left. I am using Visual
>> Studio 2012
>
> Update: Linking with static D library under Visual Studio 2015
> works fine (which is great). I do need to make it work under VS
> 2012 tho. Ideas?
Another Update: a bug I reported many moons ago is still there
when mixing C++ with D. I updated the issue:
https://issues.dlang.org/show_bug.cgi?id=14327
More information about the Digitalmars-d-announce
mailing list