Bug 10248 – DMD fails to compile with Microsoft Visual Studio 2010

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2013-06-02T17:51:43Z
Last change time
2022-06-10T05:19:53Z
Assigned to
No Owner
Creator
Dylan Knutson

Comments

Comment #0 by tcdknutson — 2013-06-02T17:51:43Z
I'm on the latest HEAD of dmd (version 2.064). Version of VS is Visual Studio 2010 Ultimate. I'm building with Build -> Build Solution (F6) however, building fails with errors: Error 1 error C3861: 'strtold': identifier not found G:\Programs\dmd2\src\dmd\src\expression.c 2985 1 dmd_msc Error 2 error C3861: 'strtold': identifier not found G:\Programs\dmd2\src\dmd\src\lexer.c 2356 1 dmd_msc Error 3 error C3861: 'strtof': identifier not found G:\Programs\dmd2\src\dmd\src\lexer.c 2367 1 dmd_msc Error 4 error C3861: 'alloca': identifier not found G:\Programs\dmd2\src\dmd\src\link.c 719 1 dmd_msc Warning 5 warning C4805: '!=' : unsafe mix of type 'char' and type 'bool' in operation G:\Programs\dmd2\src\dmd\src\mars.c 983 1 dmd_msc Error 6 error C3861: 'alloca': identifier not found G:\Programs\dmd2\src\dmd\src\tocsym.c 127 1 dmd_msc Error 7 error C3861: 'alloca': identifier not found G:\Programs\dmd2\src\dmd\src\tocsym.c 731 1 dmd_msc Error 8 error C3861: 'alloca': identifier not found G:\Programs\dmd2\src\dmd\src\tocvdebug.c 304 1 dmd_msc Error 9 error C3861: 'alloca': identifier not found G:\Programs\dmd2\src\dmd\src\tocvdebug.c 336 1 dmd_msc Error 10 error C3861: 'alloca': identifier not found G:\Programs\dmd2\src\dmd\src\tocvdebug.c 517 1 dmd_msc Error 11 error C3861: 'alloca': identifier not found G:\Programs\dmd2\src\dmd\src\tocvdebug.c 744 1 dmd_msc Warning 12 warning C4715: 'Target::critsecsize' : not all control paths return a value g:\programs\dmd2\src\dmd\src\target.c 150 1 dmd_msc Warning 13 warning C4700: uninitialized local variable 'i' used g:\programs\dmd2\src\dmd\src\backend\cgcod.c 2202 1 dmd_msc Warning 14 warning C4805: '==' : unsafe mix of type 'bool' and type 'int' in operation G:\Programs\dmd2\src\dmd\src\backend\divcoeff.c 284 1 dmd_msc Error 15 error C1083: Cannot open source file: 'root\array.c': No such file or directory G:\Programs\dmd2\src\dmd\src\c1xx dmd_msc
Comment #1 by tcdknutson — 2013-06-02T18:07:04Z
Comment #2 by yebblies — 2013-11-21T04:43:00Z
Fixed?
Comment #3 by maxhaton — 2022-06-10T05:19:53Z
Closing as comments indicate it's fixed and the information doesn't apply to the dmd codebase anymore post-D conversion