Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 5704

Show
Ignore:
Timestamp:
05/06/12 04:27:52 (3 weeks ago)
Author:
fawzi
Message:

make tango compile with dmd 1.074 on 64 bit linux

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/build/script/bob.rb

    r5612 r5704  
    573573            arch = Arch.is64bit? ? "-m64" : "-m32" unless Arch.native? 
    574574            @gcc = "gcc -c #{arch} -o #{@args.objs}/" 
    575             @gcc32 = "gcc -c -m32 -o #{@args.objs}/" 
     575            # @gcc32 = "gcc -c -m32 -o #{@args.objs}/" 
    576576 
    577577            @dmd = dmd 
     
    602602            if @args.core 
    603603                scan(".c") do |file| 
    604                     obj = compile(file, @gcc32
     604                    obj = compile(file, @gcc
    605605                    addToLib(obj) 
    606606                end 
    607607 
    608608                scan(".S") do |file| 
    609                     obj = compile(file, @gcc32
     609                    obj = compile(file, @gcc
    610610                    addToLib(obj) 
    611611                end 
  • trunk/tango/text/Regex.d

    r5673 r5704  
    36913691        pattern_ = pattern; 
    36923692 
    3693         debug(TangoRegex) {} 
    3694         else { scope tnfa_t tnfa_; } 
    36953693        static if ( is(char_t == dchar) ) { 
    3696             tnfa_ = new tnfa_t(pattern_); 
     3694        debug(TangoRegex) { 
     3695        tnfa_ = new tnfa_t(pattern_); 
     3696        } else { 
     3697        scope tnfa_t tnfa_ = new tnfa_t(pattern_); 
     3698        } 
    36973699        } 
    36983700        else { 
    3699             tnfa_ = new tnfa_t(tango.text.convert.Utf.toString32(pattern_)); 
     3701        debug(TangoRegex) { 
     3702        tnfa_ = new tnfa_t(tango.text.convert.Utf.toString32(pattern_)); 
     3703        } else { 
     3704        scope tnfa_t tnfa_ = new tnfa_t(tango.text.convert.Utf.toString32(pattern_)); 
     3705        } 
     3706 
    37003707        } 
    37013708        tnfa_.swapMatchingBracketSyntax = swapMBS;