Wiki Roadmap Timeline Tickets New Ticket Source Search Help / Guide About Trac Login

Ticket #98: msvc.diff

File msvc.diff, 55.9 kB (added by fraserofthenight, 4 years ago)

Diff to get it to compile with MSVC

  • a/dmd/arrayop.c

    old new  
    3232int binary(const char *p , const char **tab, int high) 
    3333{ 
    3434    assert(0); 
     35    return 0; 
    3536} 
    3637 
    3738/************************************** 
  • a/dmd/constfold.c

    old new  
    1515 
    1616#if __DMC__ 
    1717#include <complex.h> 
     18#endif 
     19 
     20#if _MSC_VER 
     21#include <float.h> 
     22#define isnan _isnan 
    1823#endif 
    1924 
    2025#include "mem.h" 
  • a/dmd/expression.c

    old new  
    2323#ifndef isnan 
    2424#define isnan _isnan 
    2525#endif 
     26#endif 
     27 
     28#if _MSC_VER 
     29#include <float.h> 
     30#define isnan _isnan 
    2631#endif 
    2732 
    2833#ifdef __APPLE__ 
     
    15851590    __locale_decpoint = "."; 
    15861591    real_t r = strtold(buffer, NULL); 
    15871592    __locale_decpoint = save; 
     1593#elif _MSC_VER 
     1594    real_t r = strtod(buffer, NULL); //MSVC_BUG 
    15881595#else 
    15891596    real_t r = strtold(buffer, NULL); 
    15901597#endif 
  • a/dmd/inifile.c

    old new  
    1414#include    "mem.h" 
    1515 
    1616#ifdef __MINGW32__ 
     17#include <malloc.h> 
     18#endif 
     19 
     20#ifdef _MSC_VER 
    1721#include <malloc.h> 
    1822#endif 
    1923 
  • a/dmd/lexer.c

    old new  
    1818#include <wchar.h> 
    1919#include <stdlib.h> 
    2020#include <assert.h> 
     21 
     22#ifndef _MSC_VER 
    2123#include <sys/time.h> 
     24#else 
     25#include <time.h> 
     26#endif 
    2227 
    2328#ifdef IN_GCC 
    2429 
     
    681686            if (mod && id == Id::FILE) 
    682687            { 
    683688            t->ustring = (unsigned char *)(loc.filename ? loc.filename : mod->ident->toChars()); 
    684             goto Lstring; 
     689            goto L_string; 
    685690            } 
    686691            else if (mod && id == Id::LINE) 
    687692            { 
     
    693698            if (id == Id::DATE) 
    694699            { 
    695700            t->ustring = (unsigned char *)date; 
    696             goto Lstring; 
     701            goto L_string; 
    697702            } 
    698703            else if (id == Id::TIME) 
    699704            { 
    700705            t->ustring = (unsigned char *)time; 
    701             goto Lstring; 
     706            goto L_string; 
    702707            } 
    703708            else if (id == Id::VENDOR) 
    704709            { 
    705710            t->ustring = (unsigned char *)"LLVMDC"; 
    706             goto Lstring; 
     711            goto L_string; 
    707712            } 
    708713            else if (id == Id::TIMESTAMP) 
    709714            { 
    710715            t->ustring = (unsigned char *)timestamp; 
    711              Lstring: 
     716             L_string: 
    712717            t->value = TOKstring; 
    713718             Llen: 
    714719            t->postfix = 0; 
     
    24192424#endif 
    24202425#ifdef IN_GCC 
    24212426    t->float80value = real_t::parse((char *)stringbuffer.data, real_t::LongDouble); 
     2427#elif _MSC_VER 
     2428    t->float80value = strtod((char *)stringbuffer.data, NULL); //MSVC_BUG 
    24222429#else 
    24232430    t->float80value = strtold((char *)stringbuffer.data, NULL); 
    24242431#endif 
     
    24292436    case 'f': 
    24302437#ifdef IN_GCC 
    24312438        real_t::parse((char *)stringbuffer.data, real_t::Float); 
     2439#elif _MSC_VER 
     2440        strtod((char *)stringbuffer.data, NULL); //MSVC_BUG 
    24322441#else 
    24332442        strtof((char *)stringbuffer.data, NULL); 
    24342443#endif 
  • a/dmd/lstring.c

    old new  
    1414#include "mem.h" 
    1515#include "lstring.h" 
    1616 
    17 Lstring Lstring::zero = LSTRING_EMPTY(); 
     17static Lstring zero = LSTRING_EMPTY(); 
    1818 
    1919Lstring *Lstring::ctor(const dchar *p, unsigned length) 
    2020{ 
  • a/dmd/lstring.h

    old new  
    2222    // Disable warning about nonstandard extension 
    2323    #pragma warning (disable : 4200) 
    2424    dchar string[]; 
    25  
    26     static Lstring zero;    // 0 length string 
    2725 
    2826    // No constructors because we want to be able to statically 
    2927    // initialize Lstring's, and Lstrings are of variable size. 
  • a/gen/d-asm-i386.h

    old new  
    11951195        for (int i = 0; i < N_Regs; i++) { 
    11961196        strncpy(buf, regInfo[i].name, sizeof(buf) - 1); 
    11971197        for (p = buf; *p; p++) 
    1198             *p = std::tolower(*p); 
     1198            #if _MSC_VER 
     1199            *p = tolower(*p); 
     1200            #else 
     1201            *p = std::tolower(*p); 
     1202            #endif 
    11991203        regInfo[i].gccName = std::string(buf, p - buf); 
    12001204        if ( (i <= Reg_ST || i > Reg_ST7) && i != Reg_EFLAGS ) 
    12011205            regInfo[i].ident = Lexer::idPool(regInfo[i].name); 
  • a/gen/linker.cpp

    old new  
    3838 
    3939static llvm::sys::Path gExePath; 
    4040 
    41 int linkExecutable(const char* argv0) 
     41void linkExecutable(const char* argv0) 
    4242{ 
    4343    Logger::println("*** Linking executable ***"); 
    4444 
  • a/gen/linker.h

    old new  
    1818/** 
    1919 * Link an executable. 
    2020 * @param argv0 the argv[0] value as passed to main 
    21  * @return 0 on success. 
    2221 */ 
    23 int linkExecutable(const char* argv0); 
     22void linkExecutable(const char* argv0); 
    2423 
    2524/** 
    2625 * Delete the executable that was previously linked with linkExecutable. 
  • a/gen/typinf.cpp

    old new  
    498498 
    499499/* ========================================================================= */ 
    500500 
    501 static LLConstant* LLVM_D_Declare_TypeInfoBase(TypeInfoDeclaration* tid, ClassDeclaration* cd) 
     501static void LLVM_D_Declare_TypeInfoBase(TypeInfoDeclaration* tid, ClassDeclaration* cd) 
    502502{ 
    503503    ClassDeclaration* base = cd; 
    504504    DtoResolveClass(base); 
     
    509509    tid->ir.irGlobal->value = new llvm::GlobalVariable(stype,true,llvm::GlobalValue::WeakLinkage,NULL,tid->toChars(),gIR->module); 
    510510} 
    511511 
    512 static LLConstant* LLVM_D_Define_TypeInfoBase(Type* basetype, TypeInfoDeclaration* tid, ClassDeclaration* cd) 
     512static void LLVM_D_Define_TypeInfoBase(Type* basetype, TypeInfoDeclaration* tid, ClassDeclaration* cd) 
    513513{ 
    514514    ClassDeclaration* base = cd; 
    515515    DtoForceConstInitDsymbol(base); 
  • /dev/null

    old new  
     1// ISO C9x  compliant inttypes.h for Microsoft Visual Studio 
     2// Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124  
     3//  
     4//  Copyright (c) 2006 Alexander Chemeris 
     5//  
     6// Redistribution and use in source and binary forms, with or without 
     7// modification, are permitted provided that the following conditions are met: 
     8//  
     9//   1. Redistributions of source code must retain the above copyright notice, 
     10//      this list of conditions and the following disclaimer. 
     11//  
     12//   2. Redistributions in binary form must reproduce the above copyright 
     13//      notice, this list of conditions and the following disclaimer in the 
     14//      documentation and/or other materials provided with the distribution. 
     15//  
     16//   3. The name of the author may be used to endorse or promote products 
     17//      derived from this software without specific prior written permission. 
     18//  
     19// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED 
     20// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 
     21// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 
     22// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
     23// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
     24// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 
     25// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,  
     26// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 
     27// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 
     28// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     29//  
     30/////////////////////////////////////////////////////////////////////////////// 
     31 
     32#ifndef _MSC_VER // [ 
     33#error "Use this header only with Microsoft Visual C++ compilers!" 
     34#endif // _MSC_VER ] 
     35 
     36#ifndef _MSC_INTTYPES_H_ // [ 
     37#define _MSC_INTTYPES_H_ 
     38 
     39#if _MSC_VER > 1000 
     40#pragma once 
     41#endif 
     42 
     43#include <stdint.h> 
     44 
     45// 7.8 Format conversion of integer types 
     46 
     47typedef struct { 
     48   intmax_t quot; 
     49   intmax_t rem; 
     50} imaxdiv_t; 
     51 
     52// 7.8.1 Macros for format specifiers 
     53 
     54#if !defined(__cplusplus) || defined(__STDC_FORMAT_MACROS) // [   See footnote 185 at page 198 
     55 
     56// The fprintf macros for signed integers are: 
     57#define PRId8       "d" 
     58#define PRIi8       "i" 
     59#define PRIdLEAST8  "d" 
     60#define PRIiLEAST8  "i" 
     61#define PRIdFAST8   "d" 
     62#define PRIiFAST8   "i" 
     63 
     64#define PRId16       "hd" 
     65#define PRIi16       "hi" 
     66#define PRIdLEAST16  "hd" 
     67#define PRIiLEAST16  "hi" 
     68#define PRIdFAST16   "hd" 
     69#define PRIiFAST16   "hi" 
     70 
     71#define PRId32       "I32d" 
     72#define PRIi32       "I32i" 
     73#define PRIdLEAST32  "I32d" 
     74#define PRIiLEAST32  "I32i" 
     75#define PRIdFAST32   "I32d" 
     76#define PRIiFAST32   "I32i" 
     77 
     78#define PRId64       "I64d" 
     79#define PRIi64       "I64i" 
     80#define PRIdLEAST64  "I64d" 
     81#define PRIiLEAST64  "I64i" 
     82#define PRIdFAST64   "I64d" 
     83#define PRIiFAST64   "I64i" 
     84 
     85#define PRIdMAX     "I64d" 
     86#define PRIiMAX     "I64i" 
     87 
     88#define PRIdPTR     "Id" 
     89#define PRIiPTR     "Ii" 
     90 
     91// The fprintf macros for unsigned integers are: 
     92#define PRIo8       "o" 
     93#define PRIu8       "u" 
     94#define PRIx8       "x" 
     95#define PRIX8       "X" 
     96#define PRIoLEAST8  "o" 
     97#define PRIuLEAST8  "u" 
     98#define PRIxLEAST8  "x" 
     99#define PRIXLEAST8  "X" 
     100#define PRIoFAST8   "o" 
     101#define PRIuFAST8   "u" 
     102#define PRIxFAST8   "x" 
     103#define PRIXFAST8   "X" 
     104 
     105#define PRIo16       "ho" 
     106#define PRIu16       "hu" 
     107#define PRIx16       "hx" 
     108#define PRIX16       "hX" 
     109#define PRIoLEAST16  "ho" 
     110#define PRIuLEAST16  "hu" 
     111#define PRIxLEAST16  "hx" 
     112#define PRIXLEAST16  "hX" 
     113#define PRIoFAST16   "ho" 
     114#define PRIuFAST16   "hu" 
     115#define PRIxFAST16   "hx" 
     116#define PRIXFAST16   "hX" 
     117 
     118#define PRIo32       "I32o" 
     119#define PRIu32       "I32u" 
     120#define PRIx32       "I32x" 
     121#define PRIX32       "I32X" 
     122#define PRIoLEAST32  "I32o" 
     123#define PRIuLEAST32  "I32u" 
     124#define PRIxLEAST32  "I32x" 
     125#define PRIXLEAST32  "I32X" 
     126#define PRIoFAST32   "I32o" 
     127#define PRIuFAST32   "I32u" 
     128#define PRIxFAST32   "I32x" 
     129#define PRIXFAST32   "I32X" 
     130 
     131#define PRIo64       "I64o" 
     132#define PRIu64       "I64u" 
     133#define PRIx64       "I64x" 
     134#define PRIX64       "I64X" 
     135#define PRIoLEAST64  "I64o" 
     136#define PRIuLEAST64  "I64u" 
     137#define PRIxLEAST64  "I64x" 
     138#define PRIXLEAST64  "I64X" 
     139#define PRIoFAST64   "I64o" 
     140#define PRIuFAST64   "I64u" 
     141#define PRIxFAST64   "I64x" 
     142#define PRIXFAST64   "I64X" 
     143 
     144#define PRIoMAX     "I64o" 
     145#define PRIuMAX     "I64u" 
     146#define PRIxMAX     "I64x" 
     147#define PRIXMAX     "I64X" 
     148 
     149#define PRIoPTR     "Io" 
     150#define PRIuPTR     "Iu" 
     151#define PRIxPTR     "Ix" 
     152#define PRIXPTR     "IX" 
     153 
     154// The fscanf macros for signed integers are: 
     155#define SCNd8       "d" 
     156#define SCNi8       "i" 
     157#define SCNdLEAST8  "d" 
     158#define SCNiLEAST8  "i" 
     159#define SCNdFAST8   "d" 
     160#define SCNiFAST8   "i" 
     161 
     162#define SCNd16       "hd" 
     163#define SCNi16       "hi" 
     164#define SCNdLEAST16  "hd" 
     165#define SCNiLEAST16  "hi" 
     166#define SCNdFAST16   "hd" 
     167#define SCNiFAST16   "hi" 
     168 
     169#define SCNd32       "ld" 
     170#define SCNi32       "li" 
     171#define SCNdLEAST32  "ld" 
     172#define SCNiLEAST32  "li" 
     173#define SCNdFAST32   "ld" 
     174#define SCNiFAST32   "li" 
     175 
     176#define SCNd64       "I64d" 
     177#define SCNi64       "I64i" 
     178#define SCNdLEAST64  "I64d" 
     179#define SCNiLEAST64  "I64i" 
     180#define SCNdFAST64   "I64d" 
     181#define SCNiFAST64   "I64i" 
     182 
     183#define SCNdMAX     "I64d" 
     184#define SCNiMAX     "I64i" 
     185 
     186#ifdef _WIN64 // [ 
     187#  define SCNdPTR     "I64d" 
     188#  define SCNiPTR     "I64i" 
     189#else  // _WIN64 ][ 
     190#  define SCNdPTR     "ld" 
     191#  define SCNiPTR     "li" 
     192#endif  // _WIN64 ] 
     193 
     194// The fscanf macros for unsigned integers are: 
     195#define SCNo8       "o" 
     196#define SCNu8       "u" 
     197#define SCNx8       "x" 
     198#define SCNX8       "X" 
     199#define SCNoLEAST8  "o" 
     200#define SCNuLEAST8  "u" 
     201#define SCNxLEAST8  "x" 
     202#define SCNXLEAST8  "X" 
     203#define SCNoFAST8   "o" 
     204#define SCNuFAST8   "u" 
     205#define SCNxFAST8   "x" 
     206#define SCNXFAST8   "X" 
     207 
     208#define SCNo16       "ho" 
     209#define SCNu16       "hu" 
     210#define SCNx16       "hx" 
     211#define SCNX16       "hX" 
     212#define SCNoLEAST16  "ho" 
     213#define SCNuLEAST16  "hu" 
     214#define SCNxLEAST16  "hx" 
     215#define SCNXLEAST16  "hX" 
     216#define SCNoFAST16   "ho" 
     217#define SCNuFAST16   "hu" 
     218#define SCNxFAST16   "hx" 
     219#define SCNXFAST16   "hX" 
     220 
     221#define SCNo32       "lo" 
     222#define SCNu32       "lu" 
     223#define SCNx32       "lx" 
     224#define SCNX32       "lX" 
     225#define SCNoLEAST32  "lo" 
     226#define SCNuLEAST32  "lu" 
     227#define SCNxLEAST32  "lx" 
     228#define SCNXLEAST32  "lX" 
     229#define SCNoFAST32   "lo" 
     230#define SCNuFAST32   "lu" 
     231#define SCNxFAST32   "lx" 
     232#define SCNXFAST32   "lX" 
     233 
     234#define SCNo64       "I64o" 
     235#define SCNu64       "I64u" 
     236#define SCNx64       "I64x" 
     237#define SCNX64       "I64X" 
     238#define SCNoLEAST64  "I64o" 
     239#define SCNuLEAST64  "I64u" 
     240#define SCNxLEAST64  "I64x" 
     241#define SCNXLEAST64  "I64X" 
     242#define SCNoFAST64   "I64o" 
     243#define SCNuFAST64   "I64u" 
     244#define SCNxFAST64   "I64x" 
     245#define SCNXFAST64   "I64X" 
     246 
     247#define SCNoMAX     "I64o" 
     248#define SCNuMAX     "I64u" 
     249#define SCNxMAX     "I64x" 
     250#define SCNXMAX     "I64X" 
     251 
     252#ifdef _WIN64 // [ 
     253#  define SCNoPTR     "I64o" 
     254#  define SCNuPTR     "I64u" 
     255#  define SCNxPTR     "I64x" 
     256#  define SCNXPTR     "I64X" 
     257#else  // _WIN64 ][ 
     258#  define SCNoPTR     "lo" 
     259#  define SCNuPTR     "lu" 
     260#  define SCNxPTR     "lx" 
     261#  define SCNXPTR     "lX" 
     262#endif  // _WIN64 ] 
     263 
     264#endif // __STDC_FORMAT_MACROS ] 
     265 
     266// 7.8.2 Functions for greatest-width integer types 
     267 
     268// 7.8.2.1 The imaxabs function 
     269#define imaxabs _abs64 
     270 
     271// 7.8.2.2 The imaxdiv function 
     272 
     273// This is modified version of div() function from Microsoft's div.c found 
     274// in %MSVC.NET%\crt\src\div.c 
     275#ifdef STATIC_IMAXDIV // [ 
     276static 
     277#else // STATIC_IMAXDIV ][ 
     278_inline 
     279#endif // STATIC_IMAXDIV ] 
     280imaxdiv_t __cdecl imaxdiv(intmax_t numer, intmax_t denom) 
     281{ 
     282   imaxdiv_t result; 
     283 
     284   result.quot = numer / denom; 
     285   result.rem = numer % denom; 
     286 
     287   if (numer < 0 && result.rem > 0) { 
     288      // did division wrong; must fix up 
     289      ++result.quot; 
     290      result.rem -= denom; 
     291   } 
     292 
     293   return result; 
     294} 
     295 
     296// 7.8.2.3 The strtoimax and strtoumax functions 
     297#define strtoimax _strtoi64 
     298#define strtoumax _strtoui64 
     299 
     300// 7.8.2.4 The wcstoimax and wcstoumax functions 
     301#define wcstoimax _wcstoi64 
     302#define wcstoumax _wcstoui64 
     303 
     304 
     305#endif // _MSC_INTTYPES_H_ ] 
  • /dev/null

    old new  
     1n++ 
     2Microsoft Visual Studio Solution File, Format Version 10.00 
     3# Visual Studio 2008 
     4Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "llvmdc", "llvmdc.vcproj", "{9BA681DE-F781-48B8-A4CF-76810DDF875B}" 
     5EndProject 
     6Global 
     7    GlobalSection(SolutionConfigurationPlatforms) = preSolution 
     8        Debug|Win32 = Debug|Win32 
     9        Debug|x64 = Debug|x64 
     10        Release|Win32 = Release|Win32 
     11        Release|x64 = Release|x64 
     12    EndGlobalSection 
     13    GlobalSection(ProjectConfigurationPlatforms) = postSolution 
     14        {9BA681DE-F781-48B8-A4CF-76810DDF875B}.Debug|Win32.ActiveCfg = Debug|Win32 
     15        {9BA681DE-F781-48B8-A4CF-76810DDF875B}.Debug|Win32.Build.0 = Debug|Win32 
     16        {9BA681DE-F781-48B8-A4CF-76810DDF875B}.Debug|x64.ActiveCfg = Debug|x64 
     17        {9BA681DE-F781-48B8-A4CF-76810DDF875B}.Debug|x64.Build.0 = Debug|x64 
     18        {9BA681DE-F781-48B8-A4CF-76810DDF875B}.Release|Win32.ActiveCfg = Release|Win32 
     19        {9BA681DE-F781-48B8-A4CF-76810DDF875B}.Release|Win32.Build.0 = Release|Win32 
     20        {9BA681DE-F781-48B8-A4CF-76810DDF875B}.Release|x64.ActiveCfg = Release|x64 
     21        {9BA681DE-F781-48B8-A4CF-76810DDF875B}.Release|x64.Build.0 = Release|x64 
     22    EndGlobalSection 
     23    GlobalSection(SolutionProperties) = preSolution 
     24        HideSolutionNode = FALSE 
     25    EndGlobalSection 
     26EndGlobal 
  • /dev/null

    old new  
     1n++<?xml version="1.0" encoding="UTF-8"?> 
     2<VisualStudioProject 
     3    ProjectType="Visual C++" 
     4    Version="9.00" 
     5    Name="llvmdc" 
     6    ProjectGUID="{9BA681DE-F781-48B8-A4CF-76810DDF875B}" 
     7    RootNamespace="llvmdc" 
     8    Keyword="Win32Proj" 
     9    TargetFrameworkVersion="0" 
     10    > 
     11    <Platforms> 
     12        <Platform 
     13            Name="Win32" 
     14        /> 
     15        <Platform 
     16            Name="x64" 
     17        /> 
     18    </Platforms> 
     19    <ToolFiles> 
     20    </ToolFiles> 
     21    <Configurations> 
     22        <Configuration 
     23            Name="Debug|Win32" 
     24            OutputDirectory="$(ProjectDir)\..\bin\$(PlatformName)\$(ConfigurationName)" 
     25            IntermediateDirectory="$(ProjectDir)\$(PlatformName)\$(ConfigurationName)" 
     26            ConfigurationType="1" 
     27            > 
     28            <Tool 
     29                Name="VCPreBuildEventTool" 
     30            /> 
     31            <Tool 
     32                Name="VCCustomBuildTool" 
     33            /> 
     34            <Tool 
     35                Name="VCXMLDataGeneratorTool" 
     36            /> 
     37            <Tool 
     38                Name="VCWebServiceProxyGeneratorTool" 
     39            /> 
     40            <Tool 
     41                Name="VCMIDLTool" 
     42            /> 
     43            <Tool 
     44                Name="VCCLCompilerTool" 
     45                Optimization="0" 
     46                InlineFunctionExpansion="0" 
     47                AdditionalIncludeDirectories="&quot;$(ProjectDir)&quot;;&quot;$(ProjectDir)\..&quot;;&quot;$(ProjectDir)\..\dmd&quot;" 
     48                PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;IN_LLVM;_DH;DMDV1;OPAQUE_VTBLS" 
     49                MinimalRebuild="true" 
     50                BasicRuntimeChecks="3" 
     51                RuntimeLibrary="3" 
     52                UsePrecompiledHeader="0" 
     53                WarningLevel="3" 
     54                Detect64BitPortabilityProblems="false" 
     55                DebugInformationFormat="4" 
     56            /> 
     57            <Tool 
     58                Name="VCManagedResourceCompilerTool" 
     59            /> 
     60            <Tool 
     61                Name="VCResourceCompilerTool" 
     62            /> 
     63            <Tool 
     64                Name="VCPreLinkEventTool" 
     65            /> 
     66            <Tool 
     67                Name="VCLinkerTool" 
     68                AdditionalDependencies="VMCore.lib support.lib System.lib Target.lib Transforms.lib Analysis.lib Linker.lib Bitcode.lib" 
     69                LinkIncremental="2" 
     70                AdditionalLibraryDirectories="" 
     71                GenerateDebugInformation="true" 
     72                SubSystem="1" 
     73                TargetMachine="1" 
     74            /> 
     75            <Tool 
     76                Name="VCALinkTool" 
     77            /> 
     78            <Tool 
     79                Name="VCManifestTool" 
     80            /> 
     81            <Tool 
     82                Name="VCXDCMakeTool" 
     83            /> 
     84            <Tool 
     85                Name="VCBscMakeTool" 
     86            /> 
     87            <Tool 
     88                Name="VCFxCopTool" 
     89            /> 
     90            <Tool 
     91                Name="VCAppVerifierTool" 
     92            /> 
     93            <Tool 
     94                Name="VCPostBuildEventTool" 
     95            /> 
     96        </Configuration> 
     97        <Configuration 
     98            Name="Debug|x64" 
     99            OutputDirectory="$(ProjectDir)\..\bin\$(PlatformName)\$(ConfigurationName)" 
     100            IntermediateDirectory="$(ProjectDir)\$(PlatformName)\$(ConfigurationName)" 
     101            ConfigurationType="1" 
     102            > 
     103            <Tool 
     104                Name="VCPreBuildEventTool" 
     105            /> 
     106            <Tool 
     107                Name="VCCustomBuildTool" 
     108            /> 
     109            <Tool 
     110                Name="VCXMLDataGeneratorTool" 
     111            /> 
     112            <Tool 
     113                Name="VCWebServiceProxyGeneratorTool" 
     114            /> 
     115            <Tool 
     116                Name="VCMIDLTool" 
     117                TargetEnvironment="3" 
     118            /> 
     119            <Tool 
     120                Name="VCCLCompilerTool" 
     121                Optimization="0" 
     122                InlineFunctionExpansion="0" 
     123                AdditionalIncludeDirectories="&quot;$(ProjectDir)&quot;;&quot;$(ProjectDir)\..&quot;;&quot;$(ProjectDir)\..\dmd&quot;" 
     124                PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;IN_LLVM;_DH;DMDV1;OPAQUE_VTBLS;__MSVCRT__" 
     125                MinimalRebuild="true" 
     126                BasicRuntimeChecks="3" 
     127                RuntimeLibrary="3" 
     128                UsePrecompiledHeader="0" 
     129                WarningLevel="3" 
     130                Detect64BitPortabilityProblems="false" 
     131                DebugInformationFormat="3" 
     132            /> 
     133            <Tool 
     134                Name="VCManagedResourceCompilerTool" 
     135            /> 
     136            <Tool 
     137                Name="VCResourceCompilerTool" 
     138            /> 
     139            <Tool 
     140                Name="VCPreLinkEventTool" 
     141            /> 
     142            <Tool 
     143                Name="VCLinkerTool" 
     144                AdditionalDependencies="VMCore.lib support.lib System.lib Target.lib Transforms.lib Analysis.lib Linker.lib Bitcode.lib" 
     145                LinkIncremental="2" 
     146                AdditionalLibraryDirectories="" 
     147                GenerateDebugInformation="true" 
     148                SubSystem="1" 
     149                TargetMachine="17" 
     150            /> 
     151            <Tool 
     152                Name="VCALinkTool" 
     153            /> 
     154            <Tool 
     155                Name="VCManifestTool" 
     156            /> 
     157            <Tool 
     158                Name="VCXDCMakeTool" 
     159            /> 
     160            <Tool 
     161                Name="VCBscMakeTool" 
     162            /> 
     163            <Tool 
     164                Name="VCFxCopTool" 
     165            /> 
     166            <Tool 
     167                Name="VCAppVerifierTool" 
     168            /> 
     169            <Tool 
     170                Name="VCPostBuildEventTool" 
     171            /> 
     172        </Configuration> 
     173        <Configuration 
     174            Name="Release|Win32" 
     175            OutputDirectory="Release" 
     176            IntermediateDirectory="Release" 
     177            ConfigurationType="1" 
     178            > 
     179            <Tool 
     180                Name="VCPreBuildEventTool" 
     181            /> 
     182            <Tool 
     183                Name="VCCustomBuildTool" 
     184            /> 
     185            <Tool 
     186                Name="VCXMLDataGeneratorTool" 
     187            /> 
     188            <Tool 
     189                Name="VCWebServiceProxyGeneratorTool" 
     190            /> 
     191            <Tool 
     192                Name="VCMIDLTool" 
     193            /> 
     194            <Tool 
     195                Name="VCCLCompilerTool" 
     196                PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;" 
     197                RuntimeLibrary="2" 
     198                UsePrecompiledHeader="0" 
     199                WarningLevel="3" 
     200                Detect64BitPortabilityProblems="true" 
     201                DebugInformationFormat="3" 
     202            /> 
     203            <Tool 
     204                Name="VCManagedResourceCompilerTool" 
     205            /> 
     206            <Tool 
     207                Name="VCResourceCompilerTool" 
     208            /> 
     209            <Tool 
     210                Name="VCPreLinkEventTool" 
     211            /> 
     212            <Tool 
     213                Name="VCLinkerTool" 
     214                LinkIncremental="2" 
     215                GenerateDebugInformation="true" 
     216                SubSystem="1" 
     217                OptimizeReferences="2" 
     218                EnableCOMDATFolding="2" 
     219                TargetMachine="1" 
     220            /> 
     221            <Tool 
     222                Name="VCALinkTool" 
     223            /> 
     224            <Tool 
     225                Name="VCManifestTool" 
     226            /> 
     227            <Tool 
     228                Name="VCXDCMakeTool" 
     229            /> 
     230            <Tool 
     231                Name="VCBscMakeTool" 
     232            /> 
     233            <Tool 
     234                Name="VCFxCopTool" 
     235            /> 
     236            <Tool 
     237                Name="VCAppVerifierTool" 
     238            /> 
     239            <Tool 
     240                Name="VCPostBuildEventTool" 
     241            /> 
     242        </Configuration> 
     243        <Configuration 
     244            Name="Release|x64" 
     245            OutputDirectory="$(PlatformName)\$(ConfigurationName)" 
     246            IntermediateDirectory="$(PlatformName)\$(ConfigurationName)" 
     247            ConfigurationType="1" 
     248            > 
     249            <Tool 
     250                Name="VCPreBuildEventTool" 
     251            /> 
     252            <Tool 
     253                Name="VCCustomBuildTool" 
     254            /> 
     255            <Tool 
     256                Name="VCXMLDataGeneratorTool" 
     257            /> 
     258            <Tool 
     259                Name="VCWebServiceProxyGeneratorTool" 
     260            /> 
     261            <Tool 
     262                Name="VCMIDLTool" 
     263                TargetEnvironment="3" 
     264            /> 
     265            <Tool 
     266                Name="VCCLCompilerTool" 
     267                PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;" 
     268                RuntimeLibrary="2" 
     269                UsePrecompiledHeader="0" 
     270                WarningLevel="3" 
     271                Detect64BitPortabilityProblems="true" 
     272                DebugInformationFormat="3" 
     273            /> 
     274            <Tool 
     275                Name="VCManagedResourceCompilerTool" 
     276            /> 
     277            <Tool 
     278                Name="VCResourceCompilerTool" 
     279            /> 
     280            <Tool 
     281                Name="VCPreLinkEventTool" 
     282            /> 
     283            <Tool 
     284                Name="VCLinkerTool" 
     285                LinkIncremental="2" 
     286                GenerateDebugInformation="true" 
     287                SubSystem="1" 
     288                OptimizeReferences="2" 
     289                EnableCOMDATFolding="2" 
     290                TargetMachine="17" 
     291            /> 
     292            <Tool 
     293                Name="VCALinkTool" 
     294            /> 
     295            <Tool 
     296                Name="VCManifestTool" 
     297            /> 
     298            <Tool 
     299                Name="VCXDCMakeTool" 
     300            /> 
     301            <Tool 
     302                Name="VCBscMakeTool" 
     303            /> 
     304            <Tool 
     305                Name="VCFxCopTool" 
     306            /> 
     307            <Tool 
     308                Name="VCAppVerifierTool" 
     309            /> 
     310            <Tool 
     311                Name="VCPostBuildEventTool" 
     312            /> 
     313        </Configuration> 
     314    </Configurations> 
     315    <References> 
     316    </References> 
     317    <Files> 
     318        <Filter 
     319            Name="Header Files" 
     320            Filter="h;hpp;hxx;hm;inl;inc;xsd" 
     321            UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" 
     322            > 
     323            <File 
     324                RelativePath="..\gen\aa.h" 
     325                > 
     326            </File> 
     327            <File 
     328                RelativePath="..\dmd\aggregate.h" 
     329                > 
     330            </File> 
     331            <File 
     332                RelativePath="..\gen\arrays.h" 
     333                > 
     334            </File> 
     335            <File 
     336                RelativePath="..\dmd\arraytypes.h" 
     337                > 
     338            </File> 
     339            <File 
     340                RelativePath="..\dmd\attrib.h" 
     341                > 
     342            </File> 
     343            <File 
     344                RelativePath="..\gen\classes.h" 
     345                > 
     346            </File> 
     347            <File 
     348                RelativePath="..\gen\complex.h" 
     349                > 
     350            </File> 
     351            <File 
     352                RelativePath="..\dmd\complex_t.h" 
     353                > 
     354            </File> 
     355            <File 
     356                RelativePath="..\dmd\cond.h" 
     357                > 
     358            </File> 
     359            <File 
     360                RelativePath="..\gen\d-asm-i386.h" 
     361                > 
     362            </File> 
     363            <File 
     364                RelativePath="..\dmd\dchar.h" 
     365                > 
     366            </File> 
     367            <File 
     368                RelativePath="..\dmd\declaration.h" 
     369                > 
     370            </File> 
     371            <File 
     372                RelativePath="..\dmd\doc.h" 
     373                > 
     374            </File> 
     375            <File 
     376                RelativePath="..\dmd\dsymbol.h" 
     377                > 
     378            </File> 
     379            <File 
     380                RelativePath="..\gen\dvalue.h" 
     381                > 
     382            </File> 
     383            <File 
     384                RelativePath="..\dmd\enum.h" 
     385                > 
     386            </File> 
     387            <File 
     388                RelativePath="..\gen\enums.h" 
     389                > 
     390            </File> 
     391            <File 
     392                RelativePath="..\dmd\expression.h" 
     393                > 
     394            </File> 
     395            <File 
     396                RelativePath="..\gen\functions.h" 
     397                > 
     398            </File> 
     399            <File 
     400                RelativePath="..\dmd\gnuc.h" 
     401                > 
     402            </File> 
     403            <File 
     404                RelativePath="..\dmd\hdrgen.h" 
     405                > 
     406            </File> 
     407            <File 
     408                RelativePath="..\dmd\html.h" 
     409                > 
     410            </File> 
     411            <File 
     412                RelativePath="..\dmd\id.h" 
     413                > 
     414            </File> 
     415            <File 
     416                RelativePath="..\dmd\identifier.h" 
     417                > 
     418            </File> 
     419            <File 
     420                RelativePath="..\dmd\import.h" 
     421                > 
     422            </File> 
     423            <File 
     424                RelativePath="..\dmd\init.h" 
     425                > 
     426            </File> 
     427            <File 
     428                RelativePath=".\inttypes.h" 
     429                > 
     430            </File> 
     431            <File 
     432                RelativePath="..\ir\ir.h" 
     433                > 
     434            </File> 
     435            <File 
     436                RelativePath="..\ir\irforw.h" 
     437                > 
     438            </File> 
     439            <File 
     440                RelativePath="..\ir\irfunction.h" 
     441                > 
     442            </File> 
     443            <File 
     444                RelativePath="..\ir\irlandingpad.h" 
     445                > 
     446            </File> 
     447            <File 
     448                RelativePath="..\ir\irmodule.h" 
     449                > 
     450            </File> 
     451            <File 
     452                RelativePath="..\gen\irstate.h" 
     453                > 
     454            </File> 
     455            <File 
     456                RelativePath="..\ir\irstruct.h" 
     457                > 
     458            </File> 
     459            <File 
     460                RelativePath="..\ir\irsymbol.h" 
     461                > 
     462            </File> 
     463            <File 
     464                RelativePath="..\ir\irtype.h" 
     465                > 
     466            </File> 
     467            <File 
     468                RelativePath="..\ir\irvar.h" 
     469                > 
     470            </File> 
     471            <File 
     472                RelativePath="..\dmd\lexer.h" 
     473                > 
     474            </File> 
     475            <File 
     476                RelativePath="..\gen\linker.h" 
     477                > 
     478            </File> 
     479            <File 
     480                RelativePath="..\gen\llvm.h" 
     481                > 
     482            </File> 
     483            <File 
     484                RelativePath="..\gen\llvmhelpers.h" 
     485                > 
     486            </File> 
     487            <File 
     488                RelativePath="..\gen\logger.h" 
     489                > 
     490            </File> 
     491            <File 
     492                RelativePath="..\dmd\lstring.h" 
     493                > 
     494            </File> 
     495            <File 
     496                RelativePath="..\dmd\macro.h" 
     497                > 
     498            </File> 
     499            <File 
     500                RelativePath="..\dmd\mars.h" 
     501                > 
     502            </File> 
     503            <File 
     504                RelativePath="..\dmd\mem.h" 
     505                > 
     506            </File> 
     507            <File 
     508                RelativePath="..\dmd\module.h" 
     509                > 
     510            </File> 
     511            <File 
     512                RelativePath="..\dmd\mtype.h" 
     513                > 
     514            </File> 
     515            <File 
     516                RelativePath="..\dmd\parse.h" 
     517                > 
     518            </File> 
     519            <File 
     520                RelativePath="..\dmd\port.h" 
     521                > 
     522            </File> 
     523            <File 
     524                RelativePath="..\dmd\root.h" 
     525                > 
     526            </File> 
     527            <File 
     528                RelativePath="..\gen\runtime.h" 
     529                > 
     530            </File> 
     531            <File 
     532                RelativePath="..\dmd\scope.h" 
     533                > 
     534            </File> 
     535            <File 
     536                RelativePath="..\dmd\statement.h" 
     537                > 
     538            </File> 
     539            <File 
     540                RelativePath="..\dmd\staticassert.h" 
     541                > 
     542            </File> 
     543            <File 
     544                RelativePath=".\stdint.h" 
     545                > 
     546            </File> 
     547            <File 
     548                RelativePath="..\dmd\stringtable.h" 
     549                > 
     550            </File> 
     551            <File 
     552                RelativePath="..\gen\structs.h" 
     553                > 
     554            </File> 
     555            <File 
     556                RelativePath="..\dmd\template.h" 
     557                > 
     558            </File> 
     559            <File 
     560                RelativePath="..\gen\todebug.h" 
     561                > 
     562            </File> 
     563            <File 
     564                RelativePath="..\gen\tollvm.h" 
     565                > 
     566            </File> 
     567            <File 
     568                RelativePath="..\dmd\total.h" 
     569                > 
     570            </File> 
     571            <File 
     572                RelativePath="..\gen\typeinf.h" 
     573                > 
     574            </File> 
     575            <File 
     576                RelativePath="..\dmd\utf.h" 
     577                > 
     578            </File> 
     579            <File 
     580                RelativePath="..\dmd\version.h" 
     581                > 
     582            </File> 
     583        </Filter> 
     584        <Filter 
     585            Name="Resource Files" 
     586            Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" 
     587            UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" 
     588            > 
     589        </Filter> 
     590        <Filter 
     591            Name="Source Files" 
     592            Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" 
     593            UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" 
     594            > 
     595            <File 
     596                RelativePath="..\gen\aa.cpp" 
     597                > 
     598            </File> 
     599            <File 
     600                RelativePath="..\dmd\access.c" 
     601                > 
     602                <FileConfiguration 
     603                    Name="Debug|Win32" 
     604                    > 
     605                    <Tool 
     606                        Name="VCCLCompilerTool" 
     607                        CompileAs="2" 
     608                    /> 
     609                </FileConfiguration> 
     610                <FileConfiguration 
     611                    Name="Debug|x64" 
     612                    > 
     613                    <Tool 
     614                        Name="VCCLCompilerTool" 
     615                        CompileAs="2" 
     616                    /> 
     617                </FileConfiguration> 
     618            </File> 
     619            <File 
     620                RelativePath="..\dmd\array.c" 
     621                > 
     622                <FileConfiguration 
     623                    Name="Debug|Win32" 
     624                    > 
     625                    <Tool 
     626                        Name="VCCLCompilerTool" 
     627                        CompileAs="2" 
     628                    /> 
     629                </FileConfiguration> 
     630                <FileConfiguration 
     631                    Name="Debug|x64" 
     632                    > 
     633                    <Tool 
     634                        Name="VCCLCompilerTool" 
     635                        CompileAs="2" 
     636                    /> 
     637                </FileConfiguration> 
     638            </File> 
     639            <File 
     640                RelativePath="..\dmd\arrayop.c" 
     641                > 
     642                <FileConfiguration 
     643                    Name="Debug|Win32" 
     644                    > 
     645                    <Tool 
     646                        Name="VCCLCompilerTool" 
     647                        CompileAs="2" 
     648                    /> 
     649                </FileConfiguration> 
     650                <FileConfiguration 
     651                    Name="Debug|x64" 
     652                    > 
     653                    <Tool 
     654                        Name="VCCLCompilerTool" 
     655                        CompileAs="2" 
     656                    /> 
     657                </FileConfiguration> 
     658            </File> 
     659            <File 
     660                RelativePath="..\gen\arrays.cpp" 
     661                > 
     662            </File> 
     663            <File 
     664                RelativePath="..\gen\asmstmt.cpp" 
     665                > 
     666            </File> 
     667            <File 
     668                RelativePath="..\dmd\attrib.c" 
     669                > 
     670                <FileConfiguration 
     671                    Name="Debug|Win32" 
     672                    > 
     673                    <Tool 
     674                        Name="VCCLCompilerTool" 
     675                        CompileAs="2" 
     676                    /> 
     677                </FileConfiguration> 
     678                <FileConfiguration 
     679                    Name="Debug|x64" 
     680                    > 
     681                    <Tool 
     682                        Name="VCCLCompilerTool" 
     683                        CompileAs="2" 
     684                    /> 
     685                </FileConfiguration> 
     686            </File> 
     687            <File 
     688                RelativePath="..\gen\binops.cpp" 
     689                > 
     690            </File> 
     691            <File 
     692                RelativePath="..\dmd\cast.c" 
     693                > 
     694                <FileConfiguration 
     695                    Name="Debug|Win32" 
     696                    > 
     697                    <Tool 
     698                        Name="VCCLCompilerTool" 
     699                        CompileAs="2" 
     700                    /> 
     701                </FileConfiguration> 
     702                <FileConfiguration 
     703                    Name="Debug|x64" 
     704                    > 
     705                    <Tool 
     706                        Name="VCCLCompilerTool" 
     707                        CompileAs="2" 
     708                    /> 
     709                </FileConfiguration> 
     710            </File> 
     711            <File 
     712                RelativePath="..\dmd\class.c" 
     713                > 
     714                <FileConfiguration 
     715                    Name="Debug|Win32" 
     716                    > 
     717                    <Tool 
     718                        Name="VCCLCompilerTool" 
     719                        CompileAs="2" 
     720                    /> 
     721                </FileConfiguration> 
     722                <FileConfiguration 
     723                    Name="Debug|x64" 
     724                    > 
     725                    <Tool 
     726                        Name="VCCLCompilerTool" 
     727                        CompileAs="2" 
     728                    /> 
     729                </FileConfiguration> 
     730            </File> 
     731            <File 
     732                RelativePath="..\gen\classes.cpp" 
     733                > 
     734            </File> 
     735            <File 
     736                RelativePath="..\dmd\clone.c" 
     737                > 
     738                <FileConfiguration 
     739                    Name="Debug|Win32" 
     740                    > 
     741                    <Tool 
     742                        Name="VCCLCompilerTool" 
     743                        CompileAs="2" 
     744                    /> 
     745                </FileConfiguration> 
     746                <FileConfiguration 
     747                    Name="Debug|x64" 
     748                    > 
     749                    <Tool 
     750                        Name="VCCLCompilerTool" 
     751                        CompileAs="2" 
     752                    /> 
     753                </FileConfiguration> 
     754            </File> 
     755            <File 
     756                RelativePath="..\gen\complex.cpp" 
     757                > 
     758            </File> 
     759            <File 
     760                RelativePath="..\dmd\cond.c" 
     761                > 
     762                <FileConfiguration 
     763                    Name="Debug|Win32" 
     764                    > 
     765                    <Tool 
     766                        Name="VCCLCompilerTool" 
     767                        CompileAs="2" 
     768                    /> 
     769                </FileConfiguration> 
     770                <FileConfiguration 
     771                    Name="Debug|x64" 
     772                    > 
     773                    <Tool 
     774                        Name="VCCLCompilerTool" 
     775                        CompileAs="2" 
     776                    /> 
     777                </FileConfiguration> 
     778            </File> 
     779            <File 
     780                RelativePath="..\dmd\constfold.c" 
     781                > 
     782                <FileConfiguration 
     783                    Name="Debug|Win32" 
     784                    > 
     785                    <Tool 
     786                        Name="VCCLCompilerTool" 
     787                        CompileAs="2" 
     788                    /> 
     789                </FileConfiguration> 
     790                <FileConfiguration 
     791                    Name="Debug|x64" 
     792                    > 
     793                    <Tool 
     794                        Name="VCCLCompilerTool" 
     795                        CompileAs="2" 
     796                    /> 
     797                </FileConfiguration> 
     798            </File> 
     799            <File 
     800                RelativePath="..\dmd\dchar.c" 
     801                > 
     802                <FileConfiguration 
     803                    Name="Debug|Win32" 
     804                    > 
     805                    <Tool 
     806                        Name="VCCLCompilerTool" 
     807                        CompileAs="2" 
     808                    /> 
     809                </FileConfiguration> 
     810                <FileConfiguration 
     811                    Name="Debug|x64" 
     812                    > 
     813                    <Tool 
     814                        Name="VCCLCompilerTool" 
     815                        CompileAs="2" 
     816                    /> 
     817                </FileConfiguration> 
     818            </File> 
     819            <File 
     820                RelativePath="..\dmd\declaration.c" 
     821                > 
     822                <FileConfiguration 
     823                    Name="Debug|Win32" 
     824                    > 
     825                    <Tool 
     826                        Name="VCCLCompilerTool" 
     827                        CompileAs="2" 
     828                    /> 
     829                </FileConfiguration> 
     830                <FileConfiguration 
     831                    Name="Debug|x64" 
     832                    > 
     833                    <Tool 
     834                        Name="VCCLCompilerTool" 
     835                        CompileAs="2" 
     836                    /> 
     837                </FileConfiguration> 
     838            </File> 
     839            <File 
     840                RelativePath="..\dmd\delegatize.c" 
     841                > 
     842                <FileConfiguration 
     843                    Name="Debug|Win32" 
     844                    > 
     845                    <Tool 
     846                        Name="VCCLCompilerTool" 
     847                        CompileAs="2" 
     848                    /> 
     849                </FileConfiguration> 
     850                <FileConfiguration 
     851                    Name="Debug|x64" 
     852                    > 
     853                    <Tool 
     854                        Name="VCCLCompilerTool" 
     855                        CompileAs="2" 
     856                    /> 
     857                </FileConfiguration> 
     858            </File> 
     859            <File 
     860                RelativePath="..\dmd\doc.c" 
     861                > 
     862                <FileConfiguration 
     863                    Name="Debug|Win32" 
     864                    > 
     865                    <Tool 
     866                        Name="VCCLCompilerTool" 
     867                        CompileAs="2" 
     868                    /> 
     869                </FileConfiguration> 
     870                <FileConfiguration 
     871                    Name="Debug|x64" 
     872                    > 
     873                    <Tool 
     874                        Name="VCCLCompilerTool" 
     875                        CompileAs="2" 
     876                    /> 
     877                </FileConfiguration> 
     878            </File> 
     879            <File 
     880                RelativePath="..\dmd\dsymbol.c" 
     881                > 
     882                <FileConfiguration 
     883                    Name="Debug|Win32" 
     884                    > 
     885                    <Tool 
     886                        Name="VCCLCompilerTool" 
     887                        CompileAs="2" 
     888                    /> 
     889                </FileConfiguration> 
     890                <FileConfiguration 
     891                    Name="Debug|x64" 
     892                    > 
     893                    <Tool 
     894                        Name="VCCLCompilerTool" 
     895                        CompileAs="2" 
     896                    /> 
     897                </FileConfiguration> 
     898            </File> 
     899            <File 
     900                RelativePath="..\dmd\dump.c" 
     901                > 
     902                <FileConfiguration 
     903                    Name="Debug|Win32" 
     904                    > 
     905                    <Tool 
     906                        Name="VCCLCompilerTool" 
     907                        CompileAs="2" 
     908                    /> 
     909                </FileConfiguration> 
     910                <FileConfiguration 
     911                    Name="Debug|x64" 
     912                    > 
     913                    <Tool 
     914                        Name="VCCLCompilerTool" 
     915                        CompileAs="2" 
     916                    /> 
     917                </FileConfiguration> 
     918            </File> 
     919            <File 
     920                RelativePath="..\gen\dvalue.cpp" 
     921                > 
     922            </File> 
     923            <File 
     924                RelativePath="..\gen\dwarftypes.cpp" 
     925                > 
     926            </File> 
     927            <File 
     928                RelativePath="..\dmd\entity.c" 
     929                > 
     930                <FileConfiguration 
     931                    Name="Debug|Win32" 
     932                    > 
     933                    <Tool 
     934                        Name="VCCLCompilerTool" 
     935                        CompileAs="2" 
     936                    /> 
     937                </FileConfiguration> 
     938                <FileConfiguration 
     939                    Name="Debug|x64" 
     940                    > 
     941                    <Tool 
     942                        Name="VCCLCompilerTool" 
     943                        CompileAs="2" 
     944                    /> 
     945                </FileConfiguration> 
     946            </File> 
     947            <File 
     948                RelativePath="..\dmd\enum.c" 
     949                > 
     950                <FileConfiguration 
     951                    Name="Debug|Win32" 
     952                    > 
     953                    <Tool 
     954                        Name="VCCLCompilerTool" 
     955                        CompileAs="2" 
     956                    /> 
     957                </FileConfiguration> 
     958                <FileConfiguration 
     959                    Name="Debug|x64" 
     960                    > 
     961                    <Tool 
     962                        Name="VCCLCompilerTool" 
     963                        CompileAs="2" 
     964                    /> 
     965                </FileConfiguration> 
     966            </File> 
     967            <File 
     968                RelativePath="..\dmd\expression.c" 
     969                > 
     970                <FileConfiguration 
     971                    Name="Debug|Win32" 
     972                    > 
     973                    <Tool 
     974                        Name="VCCLCompilerTool" 
     975                        CompileAs="2" 
     976                    /> 
     977                </FileConfiguration> 
     978                <FileConfiguration 
     979                    Name="Debug|x64" 
     980                    > 
     981                    <Tool 
     982                        Name="VCCLCompilerTool" 
     983                        CompileAs="2" 
     984                    /> 
     985                </FileConfiguration> 
     986            </File> 
     987            <File 
     988                RelativePath="..\dmd\func.c" 
     989                > 
     990                <FileConfiguration 
     991                    Name="Debug|Win32" 
     992                    > 
     993                    <Tool 
     994                        Name="VCCLCompilerTool" 
     995                        CompileAs="2" 
     996                    /> 
     997                </FileConfiguration> 
     998                <FileConfiguration 
     999                    Name="Debug|x64" 
     1000                    > 
     1001                    <Tool 
     1002                        Name="VCCLCompilerTool" 
     1003                        CompileAs="2" 
     1004                    /> 
     1005                </FileConfiguration> 
     1006            </File> 
     1007            <File 
     1008                RelativePath="..\gen\functions.cpp" 
     1009                > 
     1010            </File> 
     1011            <File 
     1012                RelativePath="..\dmd\gnuc.c" 
     1013                > 
     1014                <FileConfiguration 
     1015                    Name="Debug|Win32" 
     1016                    > 
     1017                    <Tool 
     1018                        Name="VCCLCompilerTool" 
     1019                        CompileAs="2" 
     1020                    /> 
     1021                </FileConfiguration> 
     1022                <FileConfiguration 
     1023                    Name="Debug|x64" 
     1024                    > 
     1025                    <Tool 
     1026                        Name="VCCLCompilerTool" 
     1027                        CompileAs="2" 
     1028                    /> 
     1029                </FileConfiguration> 
     1030            </File> 
     1031            <File 
     1032                RelativePath="..\dmd\hdrgen.c" 
     1033                > 
     1034                <FileConfiguration 
     1035                    Name="Debug|Win32" 
     1036                    > 
     1037                    <Tool 
     1038                        Name="VCCLCompilerTool" 
     1039                        CompileAs="2" 
     1040                    /> 
     1041                </FileConfiguration> 
     1042                <FileConfiguration 
     1043                    Name="Debug|x64" 
     1044                    > 
     1045                    <Tool 
     1046                        Name="VCCLCompilerTool" 
     1047                        CompileAs="2" 
     1048                    /> 
     1049                </FileConfiguration> 
     1050            </File> 
     1051            <File 
     1052                RelativePath="..\dmd\html.c" 
     1053                > 
     1054                <FileConfiguration 
     1055                    Name="Debug|Win32" 
     1056                    > 
     1057                    <Tool 
     1058                        Name="VCCLCompilerTool" 
     1059                        CompileAs="2" 
     1060                    /> 
     1061                </FileConfiguration> 
     1062                <FileConfiguration 
     1063                    Name="Debug|x64" 
     1064                    > 
     1065                    <Tool 
     1066                        Name="VCCLCompilerTool" 
     1067                        CompileAs="2" 
     1068                    /> 
     1069                </FileConfiguration> 
     1070            </File> 
     1071            <File 
     1072                RelativePath="..\dmd\id.c" 
     1073                > 
     1074                <FileConfiguration 
     1075                    Name="Debug|Win32" 
     1076                    > 
     1077                    <Tool 
     1078                        Name="VCCLCompilerTool" 
     1079                        CompileAs="2" 
     1080                    /> 
     1081                </FileConfiguration> 
     1082                <FileConfiguration 
     1083                    Name="Debug|x64" 
     1084                    > 
     1085                    <Tool 
     1086                        Name="VCCLCompilerTool" 
     1087                        CompileAs="2" 
     1088                    /> 
     1089                </FileConfiguration> 
     1090            </File> 
     1091            <File 
     1092                RelativePath="..\dmd\identifier.c" 
     1093                > 
     1094                <FileConfiguration 
     1095                    Name="Debug|Win32" 
     1096                    > 
     1097                    <Tool 
     1098                        Name="VCCLCompilerTool" 
     1099                        CompileAs="2" 
     1100                    /> 
     1101                </FileConfiguration> 
     1102                <FileConfiguration 
     1103                    Name="Debug|x64" 
     1104                    > 
     1105                    <Tool 
     1106                        Name="VCCLCompilerTool" 
     1107                        CompileAs="2" 
     1108                    /> 
     1109                </FileConfiguration> 
     1110            </File> 
     1111            <File 
     1112                RelativePath="..\dmd\impcnvtab.c" 
     1113                > 
     1114                <FileConfiguration 
     1115                    Name="Debug|Win32" 
     1116                    > 
     1117                    <Tool 
     1118                        Name="VCCLCompilerTool" 
     1119                        CompileAs="2" 
     1120                    /> 
     1121                </FileConfiguration> 
     1122                <FileConfiguration 
     1123                    Name="Debug|x64" 
     1124                    > 
     1125                    <Tool 
     1126                        Name="VCCLCompilerTool" 
     1127                        CompileAs="2" 
     1128                    /> 
     1129                </FileConfiguration> 
     1130            </File> 
     1131            <File 
     1132                RelativePath="..\dmd\import.c" 
     1133                > 
     1134                <FileConfiguration 
     1135                    Name="Debug|Win32" 
     1136                    > 
     1137                    <Tool 
     1138                        Name="VCCLCompilerTool" 
     1139                        CompileAs="2" 
     1140                    /> 
     1141                </FileConfiguration> 
     1142                <FileConfiguration 
     1143                    Name="Debug|x64" 
     1144                    > 
     1145                    <Tool 
     1146                        Name="VCCLCompilerTool" 
     1147                        CompileAs="2" 
     1148                    /> 
     1149                </FileConfiguration> 
     1150            </File> 
     1151            <File 
     1152                RelativePath="..\dmd\inifile.c" 
     1153                > 
     1154                <FileConfiguration 
     1155                    Name="Debug|Win32" 
     1156                    > 
     1157                    <Tool 
     1158                        Name="VCCLCompilerTool" 
     1159                        CompileAs="2" 
     1160                    /> 
     1161                </FileConfiguration> 
     1162                <FileConfiguration 
     1163                    Name="Debug|x64" 
     1164                    > 
     1165                    <Tool 
     1166                        Name="VCCLCompilerTool" 
     1167                        CompileAs="2" 
     1168                    /> 
     1169                </FileConfiguration> 
     1170            </File> 
     1171            <File 
     1172                RelativePath="..\dmd\init.c" 
     1173                > 
     1174                <FileConfiguration 
     1175                    Name="Debug|Win32" 
     1176                    > 
     1177                    <Tool 
     1178                        Name="VCCLCompilerTool" 
     1179                        CompileAs="2" 
     1180                    /> 
     1181                </FileConfiguration> 
     1182                <FileConfiguration 
     1183                    Name="Debug|x64" 
     1184                    > 
     1185                    <Tool 
     1186                        Name="VCCLCompilerTool" 
     1187                        CompileAs="2" 
     1188                    /> 
     1189                </FileConfiguration> 
     1190            </File> 
     1191            <File 
     1192                RelativePath="..\dmd\inline.c" 
     1193                > 
     1194                <FileConfiguration 
     1195                    Name="Debug|Win32" 
     1196                    > 
     1197                    <Tool 
     1198                        Name="VCCLCompilerTool" 
     1199                        CompileAs="2" 
     1200                    /> 
     1201                </FileConfiguration> 
     1202                <FileConfiguration 
     1203                    Name="Debug|x64" 
     1204                    > 
     1205                    <Tool 
     1206                        Name="VCCLCompilerTool" 
     1207                        CompileAs="2" 
     1208                    /> 
     1209                </FileConfiguration> 
     1210            </File> 
     1211            <File 
     1212                RelativePath="..\dmd\interpret.c" 
     1213                > 
     1214                <FileConfiguration 
     1215                    Name="Debug|Win32" 
     1216                    > 
     1217                    <Tool 
     1218                        Name="VCCLCompilerTool" 
     1219                        CompileAs="2" 
     1220                    /> 
     1221                </FileConfiguration> 
     1222                <FileConfiguration 
     1223                    Name="Debug|x64" 
     1224                    > 
     1225                    <Tool 
     1226                        Name="VCCLCompilerTool" 
     1227                        CompileAs="2" 
     1228                    /> 
     1229                </FileConfiguration> 
     1230            </File> 
     1231            <File 
     1232                RelativePath="..\ir\irfunction.cpp" 
     1233                > 
     1234            </File> 
     1235            <File 
     1236                RelativePath="..\ir\irlandingpad.cpp" 
     1237                > 
     1238            </File> 
     1239            <File 
     1240                RelativePath="..\ir\irmodule.cpp" 
     1241                > 
     1242            </File> 
     1243            <File 
     1244                RelativePath="..\gen\irstate.cpp" 
     1245                > 
     1246            </File> 
     1247            <File 
     1248                RelativePath="..\ir\irstruct.cpp" 
     1249                > 
     1250            </File> 
     1251            <File 
     1252                RelativePath="..\ir\irsymbol.cpp" 
     1253                > 
     1254            </File> 
     1255            <File 
     1256                RelativePath="..\ir\irtype.cpp" 
     1257                > 
     1258            </File> 
     1259            <File 
     1260                RelativePath="..\ir\irvar.cpp" 
     1261                > 
     1262            </File> 
     1263            <File 
     1264                RelativePath="..\dmd\lexer.c" 
     1265                > 
     1266                <FileConfiguration 
     1267                    Name="Debug|Win32" 
     1268                    > 
     1269                    <Tool 
     1270                        Name="VCCLCompilerTool" 
     1271                        CompileAs="2" 
     1272                    /> 
     1273                </FileConfiguration> 
     1274                <FileConfiguration 
     1275                    Name="Debug|x64" 
     1276                    > 
     1277                    <Tool 
     1278                        Name="VCCLCompilerTool" 
     1279                        CompileAs="2" 
     1280                    /> 
     1281                </FileConfiguration> 
     1282            </File> 
     1283            <File 
     1284                RelativePath="..\gen\linker.cpp" 
     1285                > 
     1286            </File> 
     1287            <File 
     1288                RelativePath="..\gen\llvmhelpers.cpp" 
     1289                > 
     1290            </File> 
     1291            <File 
     1292                RelativePath="..\gen\logger.cpp" 
     1293                > 
     1294            </File> 
     1295            <File 
     1296                RelativePath="..\dmd\lstring.c" 
     1297                > 
     1298                <FileConfiguration 
     1299                    Name="Debug|Win32" 
     1300                    > 
     1301                    <Tool 
     1302                        Name="VCCLCompilerTool" 
     1303                        CompileAs="2" 
     1304                    /> 
     1305                </FileConfiguration> 
     1306                <FileConfiguration 
     1307                    Name="Debug|x64" 
     1308                    > 
     1309                    <Tool 
     1310                        Name="VCCLCompilerTool" 
     1311                        CompileAs="2" 
     1312                    /> 
     1313                </FileConfiguration> 
     1314            </File> 
     1315            <File 
     1316                RelativePath="..\dmd\macro.c" 
     1317                > 
     1318                <FileConfiguration 
     1319                    Name="Debug|Win32" 
     1320                    > 
     1321                    <Tool 
     1322                        Name="VCCLCompilerTool" 
     1323                        CompileAs="2" 
     1324                    /> 
     1325                </FileConfiguration> 
     1326                <FileConfiguration 
     1327                    Name="Debug|x64" 
     1328                    > 
     1329                    <Tool 
     1330                        Name="VCCLCompilerTool" 
     1331                        CompileAs="2" 
     1332                    /> 
     1333                </FileConfiguration> 
     1334            </File> 
     1335            <File 
     1336                RelativePath="..\dmd\man.c" 
     1337                > 
     1338                <FileConfiguration 
     1339                    Name="Debug|Win32" 
     1340                    > 
     1341                    <Tool 
     1342                        Name="VCCLCompilerTool" 
     1343                        CompileAs="2" 
     1344                    /> 
     1345                </FileConfiguration> 
     1346                <FileConfiguration 
     1347                    Name="Debug|x64" 
     1348                    > 
     1349                    <Tool 
     1350                        Name="VCCLCompilerTool" 
     1351                        CompileAs="2" 
     1352                    /> 
     1353                </FileConfiguration> 
     1354            </File> 
     1355            <File 
     1356                RelativePath="..\dmd\mangle.c" 
     1357                > 
     1358                <FileConfiguration 
     1359                    Name="Debug|Win32" 
     1360                    > 
     1361                    <Tool 
     1362                        Name="VCCLCompilerTool" 
     1363                        CompileAs="2" 
     1364                    /> 
     1365                </FileConfiguration> 
     1366                <FileConfiguration 
     1367                    Name="Debug|x64" 
     1368                    > 
     1369                    <Tool 
     1370                        Name="VCCLCompilerTool" 
     1371                        CompileAs="2" 
     1372                    /> 
     1373                </FileConfiguration> 
     1374            </File> 
     1375            <File 
     1376                RelativePath="..\dmd\mars.c" 
     1377                > 
     1378                <FileConfiguration 
     1379                    Name="Debug|Win32" 
     1380                    > 
     1381                    <Tool 
     1382                        Name="VCCLCompilerTool" 
     1383                        CompileAs="2" 
     1384                    /> 
     1385                </FileConfiguration> 
     1386                <FileConfiguration 
     1387                    Name="Debug|x64" 
     1388                    > 
     1389                    <Tool 
     1390                        Name="VCCLCompilerTool" 
     1391                        CompileAs="2" 
     1392                    /> 
     1393                </FileConfiguration> 
     1394            </File> 
     1395            <File 
     1396                RelativePath="..\dmd\mem.c" 
     1397                > 
     1398                <FileConfiguration 
     1399                    Name="Debug|Win32" 
     1400                    > 
     1401                    <Tool 
     1402                        Name="VCCLCompilerTool" 
     1403                        CompileAs="2" 
     1404                    /> 
     1405                </FileConfiguration> 
     1406                <FileConfiguration 
     1407                    Name="Debug|x64" 
     1408                    > 
     1409                    <Tool 
     1410                        Name="VCCLCompilerTool" 
     1411                        CompileAs="2" 
     1412                    /> 
     1413                </FileConfiguration> 
     1414            </File> 
     1415            <File 
     1416                RelativePath="..\dmd\module.c" 
     1417                > 
     1418                <FileConfiguration 
     1419                    Name="Debug|Win32" 
     1420                    > 
     1421                    <Tool 
     1422                        Name="VCCLCompilerTool" 
     1423                        CompileAs="2" 
     1424                    /> 
     1425                </FileConfiguration> 
     1426                <FileConfiguration 
     1427                    Name="Debug|x64" 
     1428                    > 
     1429                    <Tool 
     1430                        Name="VCCLCompilerTool" 
     1431                        CompileAs="2" 
     1432                    /> 
     1433                </FileConfiguration> 
     1434            </File> 
     1435            <File 
     1436                RelativePath="..\dmd\mtype.c" 
     1437                > 
     1438                <FileConfiguration 
     1439                    Name="Debug|Win32" 
     1440                    > 
     1441                    <Tool 
     1442                        Name="VCCLCompilerTool" 
     1443                        CompileAs="2" 
     1444                    /> 
     1445                </FileConfiguration> 
     1446                <FileConfiguration 
     1447                    Name="Debug|x64" 
     1448                    > 
     1449                    <Tool 
     1450                        Name="VCCLCompilerTool" 
     1451                        CompileAs="2" 
     1452                    /> 
     1453                </FileConfiguration> 
     1454            </File> 
     1455            <File 
     1456                RelativePath="..\dmd\opover.c" 
     1457                > 
     1458                <FileConfiguration 
     1459                    Name="Debug|Win32" 
     1460                    > 
     1461                    <Tool 
     1462                        Name="VCCLCompilerTool" 
     1463                        CompileAs="2" 
     1464                    /> 
     1465                </FileConfiguration> 
     1466                <FileConfiguration 
     1467                    Name="Debug|x64" 
     1468                    > 
     1469                    <Tool 
     1470                        Name="VCCLCompilerTool" 
     1471                        CompileAs="2" 
     1472                    /> 
     1473                </FileConfiguration> 
     1474            </File> 
     1475            <File 
     1476                RelativePath="..\dmd\optimize.c" 
     1477                > 
     1478                <FileConfiguration 
     1479                    Name="Debug|Win32" 
     1480                    > 
     1481                    <Tool 
     1482                        Name="VCCLCompilerTool" 
     1483                        CompileAs="2" 
     1484                    /> 
     1485                </FileConfiguration> 
     1486                <FileConfiguration 
     1487                    Name="Debug|x64" 
     1488                    > 
     1489                    <Tool 
     1490                        Name="VCCLCompilerTool" 
     1491                        CompileAs="2" 
     1492                    /> 
     1493                </FileConfiguration> 
     1494            </File> 
     1495            <File 
     1496                RelativePath="..\gen\optimizer.cpp" 
     1497                > 
     1498            </File> 
     1499            <File 
     1500                RelativePath="..\dmd\parse.c" 
     1501                > 
     1502                <FileConfiguration 
     1503                    Name="Debug|Win32" 
     1504                    > 
     1505                    <Tool 
     1506                        Name="VCCLCompilerTool" 
     1507                        CompileAs="2" 
     1508                    /> 
     1509                </FileConfiguration> 
     1510                <FileConfiguration 
     1511                    Name="Debug|x64" 
     1512                    > 
     1513                    <Tool 
     1514                        Name="VCCLCompilerTool" 
     1515                        CompileAs="2" 
     1516                    /> 
     1517                </FileConfiguration> 
     1518            </File> 
     1519            <File 
     1520                RelativePath="..\dmd\root.c" 
     1521                > 
     1522                <FileConfiguration 
     1523                    Name="Debug|Win32" 
     1524                    > 
     1525                    <Tool 
     1526                        Name="VCCLCompilerTool" 
     1527                        CompileAs="2" 
     1528                    /> 
     1529                </FileConfiguration> 
     1530                <FileConfiguration 
     1531                    Name="Debug|x64" 
     1532                    > 
     1533                    <Tool 
     1534                        Name="VCCLCompilerTool" 
     1535                        CompileAs="2" 
     1536                    /> 
     1537                </FileConfiguration> 
     1538            </File> 
     1539            <File 
     1540                RelativePath="..\gen\runtime.cpp" 
     1541                > 
     1542            </File> 
     1543            <File 
     1544                RelativePath="..\dmd\scope.c" 
     1545                > 
     1546                <FileConfiguration 
     1547                    Name="Debug|Win32" 
     1548                    > 
     1549                    <Tool 
     1550                        Name="VCCLCompilerTool" 
     1551                        CompileAs="2" 
     1552                    /> 
     1553                </FileConfiguration> 
     1554                <FileConfiguration 
     1555                    Name="Debug|x64" 
     1556                    > 
     1557                    <Tool 
     1558                        Name="VCCLCompilerTool" 
     1559                        CompileAs="2" 
     1560                    /> 
     1561                </FileConfiguration> 
     1562            </File> 
     1563            <File 
     1564                RelativePath="..\dmd\statement.c" 
     1565                > 
     1566                <FileConfiguration 
     1567                    Name="Debug|Win32" 
     1568                    > 
     1569                    <Tool 
     1570                        Name="VCCLCompilerTool" 
     1571                        CompileAs="2" 
     1572                    /> 
     1573                </FileConfiguration> 
     1574                <FileConfiguration 
     1575                    Name="Debug|x64" 
     1576                    > 
     1577                    <Tool 
     1578                        Name="VCCLCompilerTool" 
     1579                        CompileAs="2" 
     1580                    /> 
     1581                </FileConfiguration> 
     1582            </File> 
     1583            <File 
     1584                RelativePath="..\gen\statements.cpp" 
     1585                > 
     1586            </File> 
     1587            <File 
     1588                RelativePath="..\dmd\staticassert.c" 
     1589                > 
     1590                <FileConfiguration 
     1591                    Name="Debug|Win32" 
     1592                    > 
     1593                    <Tool 
     1594                        Name="VCCLCompilerTool" 
     1595                        CompileAs="2" 
     1596                    /> 
     1597                </FileConfiguration> 
     1598                <FileConfiguration 
     1599                    Name="Debug|x64" 
     1600                    > 
     1601                    <Tool 
     1602                        Name="VCCLCompilerTool" 
     1603                        CompileAs="2" 
     1604                    /> 
     1605                </FileConfiguration> 
     1606            </File> 
     1607            <File 
     1608                RelativePath="..\dmd\stringtable.c" 
     1609                > 
     1610                <FileConfiguration 
     1611                    Name="Debug|Win32" 
     1612                    > 
     1613                    <Tool 
     1614                        Name="VCCLCompilerTool" 
     1615                        CompileAs="2" 
     1616                    /> 
     1617                </FileConfiguration> 
     1618                <FileConfiguration 
     1619                    Name="Debug|x64" 
     1620                    > 
     1621                    <Tool 
     1622                        Name="VCCLCompilerTool" 
     1623                        CompileAs="2" 
     1624                    /> 
     1625                </FileConfiguration> 
     1626            </File> 
     1627            <File 
     1628                RelativePath="..\dmd\struct.c" 
     1629                > 
     1630                <FileConfiguration 
     1631                    Name="Debug|Win32" 
     1632                    > 
     1633                    <Tool 
     1634                        Name="VCCLCompilerTool" 
     1635                        CompileAs="2" 
     1636                    /> 
     1637                </FileConfiguration> 
     1638                <FileConfiguration 
     1639                    Name="Debug|x64" 
     1640                    > 
     1641                    <Tool 
     1642                        Name="VCCLCompilerTool" 
     1643                        CompileAs="2" 
     1644                    /> 
     1645                </FileConfiguration> 
     1646            </File> 
     1647            <File 
     1648                RelativePath="..\gen\structs.cpp" 
     1649                > 
     1650            </File> 
     1651            <File 
     1652                RelativePath="..\dmd\template.c" 
     1653                > 
     1654                <FileConfiguration 
     1655                    Name="Debug|Win32" 
     1656                    > 
     1657                    <Tool 
     1658                        Name="VCCLCompilerTool" 
     1659                        CompileAs="2" 
     1660                    /> 
     1661                </FileConfiguration> 
     1662                <FileConfiguration 
     1663                    Name="Debug|x64" 
     1664                    > 
     1665                    <Tool 
     1666                        Name="VCCLCompilerTool" 
     1667                        CompileAs="2" 
     1668                    /> 
     1669                </FileConfiguration> 
     1670            </File> 
     1671            <File 
     1672                RelativePath="..\gen\tocall.cpp" 
     1673                > 
     1674            </File> 
     1675            <File 
     1676                RelativePath="..\gen\tocsym.cpp" 
     1677                > 
     1678            </File> 
     1679            <File 
     1680                RelativePath="..\gen\todebug.cpp" 
     1681                > 
     1682            </File> 
     1683            <File 
     1684                RelativePath="..\gen\todt.cpp" 
     1685                > 
     1686            </File> 
     1687            <File 
     1688                RelativePath="..\gen\toir.cpp" 
     1689                > 
     1690            </File> 
     1691            <File 
     1692                RelativePath="..\gen\tollvm.cpp" 
     1693                > 
     1694            </File> 
     1695            <File 
     1696                RelativePath="..\gen\toobj.cpp" 
     1697                > 
     1698            </File> 
     1699            <File 
     1700                RelativePath="..\gen\typinf.cpp" 
     1701                > 
     1702            </File> 
     1703            <File 
     1704                RelativePath="..\dmd\unialpha.c" 
     1705                > 
     1706                <FileConfiguration 
     1707                    Name="Debug|Win32" 
     1708                    > 
     1709                    <Tool 
     1710                        Name="VCCLCompilerTool" 
     1711                        CompileAs="2" 
     1712                    /> 
     1713                </FileConfiguration> 
     1714                <FileConfiguration 
     1715                    Name="Debug|x64" 
     1716                    > 
     1717                    <Tool 
     1718                        Name="VCCLCompilerTool" 
     1719                        CompileAs="2" 
     1720                    /> 
     1721                </FileConfiguration> 
     1722            </File> 
     1723            <File 
     1724                RelativePath="..\dmd\utf.c" 
     1725                > 
     1726                <FileConfiguration 
     1727                    Name="Debug|Win32" 
     1728                    > 
     1729                    <Tool 
     1730                        Name="VCCLCompilerTool" 
     1731                        CompileAs="2" 
     1732                    /> 
     1733                </FileConfiguration> 
     1734                <FileConfiguration 
     1735                    Name="Debug|x64" 
     1736                    > 
     1737                    <Tool 
     1738                        Name="VCCLCompilerTool" 
     1739                        CompileAs="2" 
     1740                    /> 
     1741                </FileConfiguration> 
     1742            </File> 
     1743            <File 
     1744                RelativePath="..\dmd\version.c" 
     1745                > 
     1746                <FileConfiguration 
     1747                    Name="Debug|Win32" 
     1748                    > 
     1749                    <Tool 
     1750                        Name="VCCLCompilerTool" 
     1751                        CompileAs="2" 
     1752                    /> 
     1753                </FileConfiguration> 
     1754                <FileConfiguration 
     1755                    Name="Debug|x64" 
     1756                    > 
     1757                    <Tool 
     1758                        Name="VCCLCompilerTool" 
     1759                        CompileAs="2" 
     1760                    /> 
     1761                </FileConfiguration> 
     1762            </File> 
     1763        </Filter> 
     1764    </Files> 
     1765    <Globals> 
     1766    </Globals> 
     1767</VisualStudioProject> 
  • /dev/null

    old new  
     1// ISO C9x  compliant stdint.h for Microsoft Visual Studio 
     2// Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124  
     3//  
     4//  Copyright (c) 2006-2008 Alexander Chemeris 
     5//  
     6// Redistribution and use in source and binary forms, with or without 
     7// modification, are permitted provided that the following conditions are met: 
     8//  
     9//   1. Redistributions of source code must retain the above copyright notice, 
     10//      this list of conditions and the following disclaimer. 
     11//  
     12//   2. Redistributions in binary form must reproduce the above copyright 
     13//      notice, this list of conditions and the following disclaimer in the 
     14//      documentation and/or other materials provided with the distribution. 
     15//  
     16//   3. The name of the author may be used to endorse or promote products 
     17//      derived from this software without specific prior written permission. 
     18//  
     19// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED 
     20// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 
     21// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 
     22// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
     23// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
     24// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 
     25// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,  
     26// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 
     27// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 
     28// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     29//  
     30/////////////////////////////////////////////////////////////////////////////// 
     31 
     32#ifndef _MSC_VER // [ 
     33#error "Use this header only with Microsoft Visual C++ compilers!" 
     34#endif // _MSC_VER ] 
     35 
     36#ifndef _MSC_STDINT_H_ // [ 
     37#define _MSC_STDINT_H_ 
     38 
     39#if _MSC_VER > 1000 
     40#pragma once 
     41#endif 
     42 
     43#include <limits.h> 
     44 
     45// For Visual Studio 6 in C++ mode wrap <wchar.h> include with 'extern "C++" {}' 
     46// or compiler give many errors like this: 
     47//   error C2733: second C linkage of overloaded function 'wmemchr' not allowed 
     48#if (_MSC_VER < 1300) && defined(__cplusplus) 
     49   extern "C++" { 
     50#endif  
     51#     include <wchar.h> 
     52#if (_MSC_VER < 1300) && defined(__cplusplus) 
     53   } 
     54#endif 
     55 
     56// Define _W64 macros to mark types changing their size, like intptr_t. 
     57#ifndef _W64 
     58#  if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && _MSC_VER >= 1300 
     59#     define _W64 __w64 
     60#  else 
     61#     define _W64 
     62#  endif 
     63#endif 
     64 
     65 
     66// 7.18.1 Integer types 
     67 
     68// 7.18.1.1 Exact-width integer types 
     69#ifndef SUPPORT_DATATYPES_H 
     70typedef __int8            int8_t; 
     71typedef __int16           int16_t; 
     72typedef __int32           int32_t; 
     73typedef __int64           int64_t; 
     74typedef unsigned __int8   uint8_t; 
     75typedef unsigned __int16  uint16_t; 
     76typedef unsigned __int32  uint32_t; 
     77typedef unsigned __int64  uint64_t; 
     78#endif 
     79 
     80// 7.18.1.2 Minimum-width integer types 
     81typedef int8_t    int_least8_t; 
     82typedef int16_t   int_least16_t; 
     83typedef int32_t   int_least32_t; 
     84typedef int64_t   int_least64_t; 
     85typedef uint8_t   uint_least8_t; 
     86typedef uint16_t  uint_least16_t; 
     87typedef uint32_t  uint_least32_t; 
     88typedef uint64_t  uint_least64_t; 
     89 
     90// 7.18.1.3 Fastest minimum-width integer types 
     91typedef int8_t    int_fast8_t; 
     92typedef int16_t   int_fast16_t; 
     93typedef int32_t   int_fast32_t; 
     94typedef int64_t   int_fast64_t; 
     95typedef uint8_t   uint_fast8_t; 
     96typedef uint16_t  uint_fast16_t; 
     97typedef uint32_t  uint_fast32_t; 
     98typedef uint64_t  uint_fast64_t; 
     99 
     100// 7.18.1.4 Integer types capable of holding object pointers 
     101#ifdef _WIN64 // [ 
     102   typedef __int64           intptr_t; 
     103   typedef unsigned __int64  uintptr_t; 
     104#else // _WIN64 ][ 
     105   typedef _W64 int               intptr_t; 
     106   typedef _W64 unsigned int      uintptr_t; 
     107#endif // _WIN64 ] 
     108 
     109// 7.18.1.5 Greatest-width integer types 
     110typedef int64_t   intmax_t; 
     111typedef uint64_t  uintmax_t; 
     112 
     113 
     114// 7.18.2 Limits of specified-width integer types 
     115 
     116#if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) // [   See footnote 220 at page 257 and footnote 221 at page 259 
     117 
     118// 7.18.2.1 Limits of exact-width integer types 
     119#define INT8_MIN     ((int8_t)_I8_MIN) 
     120#define INT8_MAX     _I8_MAX 
     121#define INT16_MIN    ((int16_t)_I16_MIN) 
     122#define INT16_MAX    _I16_MAX 
     123#define INT32_MIN    ((int32_t)_I32_MIN) 
     124#define INT32_MAX    _I32_MAX 
     125#define INT64_MIN    ((int64_t)_I64_MIN) 
     126#define INT64_MAX    _I64_MAX 
     127#define UINT8_MAX    _UI8_MAX 
     128#define UINT16_MAX   _UI16_MAX 
     129#define UINT32_MAX   _UI32_MAX 
     130#define UINT64_MAX   _UI64_MAX 
     131 
     132// 7.18.2.2 Limits of minimum-width integer types 
     133#define INT_LEAST8_MIN    INT8_MIN 
     134#define INT_LEAST8_MAX    INT8_MAX 
     135#define INT_LEAST16_MIN   INT16_MIN 
     136#define INT_LEAST16_MAX   INT16_MAX 
     137#define INT_LEAST32_MIN   INT32_MIN 
     138#define INT_LEAST32_MAX   INT32_MAX 
     139#define INT_LEAST64_MIN   INT64_MIN 
     140#define INT_LEAST64_MAX   INT64_MAX 
     141#define UINT_LEAST8_MAX   UINT8_MAX 
     142#define UINT_LEAST16_MAX  UINT16_MAX 
     143#define UINT_LEAST32_MAX  UINT32_MAX 
     144#define UINT_LEAST64_MAX  UINT64_MAX 
     145 
     146// 7.18.2.3 Limits of fastest minimum-width integer types 
     147#define INT_FAST8_MIN    INT8_MIN 
     148#define INT_FAST8_MAX    INT8_MAX 
     149#define INT_FAST16_MIN   INT16_MIN 
     150#define INT_FAST16_MAX   INT16_MAX 
     151#define INT_FAST32_MIN   INT32_MIN 
     152#define INT_FAST32_MAX   INT32_MAX 
     153#define INT_FAST64_MIN   INT64_MIN 
     154#define INT_FAST64_MAX   INT64_MAX 
     155#define UINT_FAST8_MAX   UINT8_MAX 
     156#define UINT_FAST16_MAX  UINT16_MAX 
     157#define UINT_FAST32_MAX  UINT32_MAX 
     158#define UINT_FAST64_MAX  UINT64_MAX 
     159 
     160// 7.18.2.4 Limits of integer types capable of holding object pointers 
     161#ifdef _WIN64 // [ 
     162#  define INTPTR_MIN   INT64_MIN 
     163#  define INTPTR_MAX   INT64_MAX 
     164#  define UINTPTR_MAX  UINT64_MAX 
     165#else // _WIN64 ][ 
     166#  define INTPTR_MIN   INT32_MIN 
     167#  define INTPTR_MAX   INT32_MAX 
     168#  define UINTPTR_MAX  UINT32_MAX 
     169#endif // _WIN64 ] 
     170 
     171// 7.18.2.5 Limits of greatest-width integer types 
     172#define INTMAX_MIN   INT64_MIN 
     173#define INTMAX_MAX   INT64_MAX 
     174#define UINTMAX_MAX  UINT64_MAX 
     175 
     176// 7.18.3 Limits of other integer types 
     177 
     178#ifdef _WIN64 // [ 
     179#  define PTRDIFF_MIN  _I64_MIN 
     180#  define PTRDIFF_MAX  _I64_MAX 
     181#else  // _WIN64 ][ 
     182#  define PTRDIFF_MIN  _I32_MIN 
     183#  define PTRDIFF_MAX  _I32_MAX 
     184#endif  // _WIN64 ] 
     185 
     186#define SIG_ATOMIC_MIN  INT_MIN 
     187#define SIG_ATOMIC_MAX  INT_MAX 
     188 
     189#ifndef SIZE_MAX // [ 
     190#  ifdef _WIN64 // [ 
     191#     define SIZE_MAX  _UI64_MAX 
     192#  else // _WIN64 ][ 
     193#     define SIZE_MAX  _UI32_MAX 
     194#  endif // _WIN64 ] 
     195#endif // SIZE_MAX ] 
     196 
     197// WCHAR_MIN and WCHAR_MAX are also defined in <wchar.h> 
     198#ifndef WCHAR_MIN // [ 
     199#  define WCHAR_MIN  0 
     200#endif  // WCHAR_MIN ] 
     201#ifndef WCHAR_MAX // [ 
     202#  define WCHAR_MAX  _UI16_MAX 
     203#endif  // WCHAR_MAX ] 
     204 
     205#define WINT_MIN  0 
     206#define WINT_MAX  _UI16_MAX 
     207 
     208#endif // __STDC_LIMIT_MACROS ] 
     209 
     210 
     211// 7.18.4 Limits of other integer types 
     212 
     213#if !defined(__cplusplus) || defined(__STDC_CONSTANT_MACROS) // [   See footnote 224 at page 260 
     214 
     215// 7.18.4.1 Macros for minimum-width integer constants 
     216 
     217#define INT8_C(val)  val##i8 
     218#define INT16_C(val) val##i16 
     219#define INT32_C(val) val##i32 
     220#define INT64_C(val) val##i64 
     221 
     222#define UINT8_C(val)  val##ui8 
     223#define UINT16_C(val) val##ui16 
     224#define UINT32_C(val) val##ui32 
     225#define UINT64_C(val) val##ui64 
     226 
     227// 7.18.4.2 Macros for greatest-width integer constants 
     228#define INTMAX_C   INT64_C 
     229#define UINTMAX_C  UINT64_C 
     230 
     231#endif // __STDC_CONSTANT_MACROS ] 
     232 
     233 
     234#endif // _MSC_STDINT_H_ ] 
Copyright © 2008, LDC Development Team.