Changeset 189:a4c9de8e39b3

Show
Ignore:
Timestamp:
06/08/11 02:21:32 (1 year ago)
Author:
Abscissa
branch:
default
Message:

Now compileable with dmd2.053

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • commands.linux.txt

    r183 r189  
    203203dmd/CppMangleState.d 
    204204dmd/CtorDeclaration.d 
     205dmd/DDMDExtensions.d 
    205206dmd/DVCondition.d 
    206207dmd/Dchar.d 
  • commands.osx.txt

    r184 r189  
    203203dmd/CppMangleState.d 
    204204dmd/CtorDeclaration.d 
     205dmd/DDMDExtensions.d 
    205206dmd/DVCondition.d 
    206207dmd/Dchar.d 
  • commands.txt

    r179 r189  
    197197dmd\CppMangleState.d 
    198198dmd\CtorDeclaration.d 
     199dmd\DDMDExtensions.d 
    199200dmd\DVCondition.d 
    200201dmd\Dchar.d 
  • dbg/CallStackInfo.d

    r79 r189  
    2020import core.stdc.stdio; 
    2121import core.sys.windows.windows; 
     22 
     23import rt.deh; 
    2224 
    2325class CallStackInfo 
     
    240242    EXCEPTION_RECORD* ExceptionRecord; 
    241243    CONTEXT*          ContextRecord; 
    242 } 
    243  
    244 const size_t EXCEPTION_MAXIMUM_PARAMETERS = 15; 
    245  
    246 struct EXCEPTION_RECORD { 
    247     DWORD ExceptionCode; 
    248     DWORD ExceptionFlags; 
    249     EXCEPTION_RECORD* ExceptionRecord; 
    250     PVOID ExceptionAddress; 
    251     DWORD NumberParameters; 
    252     DWORD[EXCEPTION_MAXIMUM_PARAMETERS] ExceptionInformation; 
    253244} 
    254245 
     
    283274} 
    284275 
    285 extern(C) Throwable _d_translate_se_to_d_exception(EXCEPTION_RECORD* exception_record); 
     276//extern Throwable _d_translate_se_to_d_exception(EXCEPTION_RECORD* exception_record); 
  • dmd/ClassDeclaration.d

    r187 r189  
    398398            { 
    399399                TypeTuple tup = cast(TypeTuple)tb; 
    400                 enum PROT protection = b.protection; 
     400                PROT protection = b.protection; 
    401401                baseclasses.remove(i); 
    402402                size_t dim = Parameter.dim(tup.arguments); 
  • dmd/File.d

    r183 r189  
    2222import std.string : toStringz; 
    2323import std.stdio; 
     24import std.conv; 
    2425 
    2526import core.memory; 
     
    256257        ssize_t numwritten; 
    257258        const(char)* name = toStringz(this.name.toChars()); 
    258         fd = open(name, O_CREAT | O_WRONLY | O_TRUNC, 0644); 
     259        fd = open(name, O_CREAT | O_WRONLY | O_TRUNC, std.conv.octal!644); 
    259260        if (fd == -1) 
    260261        goto err; 
  • dmd/OutBuffer.d

    r178 r189  
    22 
    33import dmd.common; 
    4 import std.stdarg; 
     4import core.vararg; 
    55import std.exception; 
    66 
  • dmd/StorageClassDeclaration.d

    r187 r189  
    137137            if (stc & table[i].stc) 
    138138            { 
    139                 enum TOK tok = table[i].tok; 
     139                TOK tok = table[i].tok; 
    140140                if (tok == TOKat) 
    141141                {   Identifier id;