digitalmars.D.bugs - [Issue 15611] New: DMD doesn't build with VS2015
- via Digitalmars-d-bugs (40/40) Jan 25 2016 https://issues.dlang.org/show_bug.cgi?id=15611
https://issues.dlang.org/show_bug.cgi?id=15611 Issue ID: 15611 Summary: DMD doesn't build with VS2015 Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: turkeyman gmail.com DMD doesn't build with VS2015. This compile error: 1>..\root\longdouble.c(53): error C2065: '_TWO_DIGIT_EXPONENT': undeclared identifier 1>..\root\longdouble.c(53): error C3861: '_set_output_format': identifier not found Solution: Remove longdouble.c(53): _set_output_format(_TWO_DIGIT_EXPONENT); It is no longer needed, and was removed from the library. These link errors: 2>ddmd.obj : error LNK2019: unresolved external symbol __vsnprintf referenced in function "public: void __thiscall OutBuffer::vprintf(char const *,char *)" (?vprintf OutBuffer QAEXPBDPAD Z) 2>phobos32mscoff.lib(stacktrace_18a3_3e5.obj) : error LNK2019: unresolved external symbol _snprintf referenced in function _D4core3sys7windows10stacktrace10StackTrace13resolveNoSyncFAxmZAAa (char[][] core.sys.windows.stacktrace.StackTrace.resolveNoSync(const(ulong)[])) 2>phobos32mscoff.lib(demangle_a1b_31d.obj) : error LNK2001: unresolved external symbol _snprintf 2>phobos32mscoff.lib(config_20c2_452.obj) : error LNK2001: unresolved external symbol _snprintf 2>phobos32mscoff.lib(config_20c2_452.obj) : error LNK2019: unresolved external symbol _sscanf referenced in function _D2gc6config13__T5parseHTfZ5parseFNbNiAxaKAxaKfZb 2>generated\Debug_Win32\ddmd.exe : fatal error LNK1120: 3 unresolved externals Looks like MS has been messing with the CRT again! --
Jan 25 2016