www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10248] New: DMD fails to compile with Microsoft Visual Studio 2010

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10248

           Summary: DMD fails to compile with Microsoft Visual Studio 2010
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: tcdknutson gmail.com



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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 02 2013
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10248




https://github.com/D-Programming-Language/dmd/pull/2102 resolves this issue

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 02 2013