D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 10248 - DMD fails to compile with Microsoft Visual Studio 2010
Summary: DMD fails to compile with Microsoft Visual Studio 2010
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All Windows
: P2 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-02 17:51 UTC by Dylan Knutson
Modified: 2022-06-10 05:19 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Dylan Knutson 2013-06-02 17:51:43 UTC
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 Dylan Knutson 2013-06-02 18:07:04 UTC
https://github.com/D-Programming-Language/dmd/pull/2102 resolves this issue
Comment 2 yebblies 2013-11-21 04:43:00 UTC
Fixed?
Comment 3 mhh 2022-06-10 05:19:53 UTC
Closing as comments indicate it's fixed and the information doesn't apply to the dmd codebase anymore post-D conversion