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

Changeset 636:9fb1f559d9e9

Show
Ignore:
Timestamp:
10/01/08 19:42:21 (2 months ago)
Author:
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
branch:
default
Message:

updated tango patch so it compiles again with the latests check for using privates as default args for public functions.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • runtime/llvmdc.diff

    r627 r636  
    11Index: object.di 
    22=================================================================== 
    3 --- object.di   (revision 3939
     3--- object.di   (revision 3950
    44+++ object.di   (working copy) 
    55@@ -150,6 +150,9 @@ 
     
    1313 } 
    1414  
    15 Index: lib/unittest.sh 
    16 =================================================================== 
    17 --- lib/unittest.sh (revision 3939) 
    18 +++ lib/unittest.sh (working copy) 
    19 @@ -18,8 +18,9 @@ 
    20    --help: This message 
    21    --run-all: Reports result instead of breaking. Do not use this if you want to 
    22           run unittest runner through a debugger. 
    23 -  dmd: Builds unittests for dmd 
    24 -  gdc: Builds unittests for gdc 
    25 +  dmd:    Builds unittests for dmd 
    26 +  gdc:    Builds unittests for gdc 
    27 +  llvmdc: Builds unittests for llvmdc 
    28   
    29    <none>: Builds unittests for all known compilers.' 
    30    exit 0 
    31 @@ -86,7 +87,7 @@ 
    32  void main() {} 
    33  EOF 
    34   
    35 -        rebuild -w -d -g -L-ldl -L-lz -L-lbz2 -debug=UnitTest -debug -full -clean -unittest \ 
    36 +        rebuild -w -d -L-ldl -L-lz -L-lbz2 -debug=UnitTest -debug -full -clean -unittest \ 
    37          -version=UnitTest $EXE.d tango/core/*.d tango/core/sync/*.d tango/io/digest/*.d \ 
    38          tango/io/model/*.d tango/io/protocol/*.d tango/io/selector/*.d tango/io/*.d \ 
    39          tango/io/vfs/*.d tango/io/vfs/model/*.d \ 
    40 @@ -125,6 +126,9 @@ 
    41          gdc) 
    42              GDC=1 
    43              ;; 
    44 +        llvmdc) 
    45 +            LLVMDC=1 
    46 +            ;; 
    47          *) 
    48              usage 
    49              ;; 
    50 @@ -132,10 +136,11 @@ 
    51      shift 
    52  done 
    53   
    54 -if [ ! "$DMD" -a ! "$GDC" ] 
    55 +if [ ! "$DMD" -a ! "$GDC" -a ! "$LLVMDC" ] 
    56  then 
    57      DMD=1 
    58      GDC=1 
    59 +    LLVMDC=1 
    60  fi 
    61   
    62  if [ "$DMD" = "1" ] 
    63 @@ -146,4 +151,7 @@ 
    64  then 
    65      compile gdc runUnitTest_gdc 
    66  fi 
    67 - 
    68 +if [ "$LLVMDC" = "1" ] 
    69 +then 
    70 +    compile llvmdc runUnitTest_llvmdc 
    71 +fi 
    7215Index: lib/common/tango/core/BitManip.d 
    7316=================================================================== 
    74 --- lib/common/tango/core/BitManip.d    (revision 3939
     17--- lib/common/tango/core/BitManip.d    (revision 3950
    7518+++ lib/common/tango/core/BitManip.d    (working copy) 
    7619@@ -171,6 +171,10 @@ 
     
    8730Index: lib/common/tango/core/Thread.d 
    8831=================================================================== 
    89 --- lib/common/tango/core/Thread.d  (revision 3939
     32--- lib/common/tango/core/Thread.d  (revision 3950
    9033+++ lib/common/tango/core/Thread.d  (working copy) 
    9134@@ -244,8 +244,29 @@ 
     
    13477                 { 
    13578                     popad; 
     79@@ -2306,10 +2331,10 @@ 
     80             import tango.stdc.posix.ucontext; 
     81         } 
     82     } 
     83- 
     84-    const size_t PAGESIZE; 
     85 } 
     86  
     87+// this can't be private since it's used as default argument to a public function 
     88+const size_t PAGESIZE; 
     89  
     90 static this() 
     91 { 
     92Index: lib/unittest.sh 
     93=================================================================== 
     94--- lib/unittest.sh (revision 3950) 
     95+++ lib/unittest.sh (working copy) 
     96@@ -18,8 +18,9 @@ 
     97   --help: This message 
     98   --run-all: Reports result instead of breaking. Do not use this if you want to 
     99          run unittest runner through a debugger. 
     100-  dmd: Builds unittests for dmd 
     101-  gdc: Builds unittests for gdc 
     102+  dmd:    Builds unittests for dmd 
     103+  gdc:    Builds unittests for gdc 
     104+  llvmdc: Builds unittests for llvmdc 
     105  
     106   <none>: Builds unittests for all known compilers.' 
     107   exit 0 
     108@@ -86,7 +87,7 @@ 
     109 void main() {} 
     110 EOF 
     111  
     112-        rebuild -w -d -g -L-ldl -L-lz -L-lbz2 -debug=UnitTest -debug -full -clean -unittest \ 
     113+        rebuild -w -d -L-ldl -L-lz -L-lbz2 -debug=UnitTest -debug -full -clean -unittest \ 
     114         -version=UnitTest $EXE.d tango/core/*.d tango/core/sync/*.d tango/io/digest/*.d \ 
     115         tango/io/model/*.d tango/io/protocol/*.d tango/io/selector/*.d tango/io/*.d \ 
     116         tango/io/vfs/*.d tango/io/vfs/model/*.d \ 
     117@@ -125,6 +126,9 @@ 
     118         gdc) 
     119             GDC=1 
     120             ;; 
     121+        llvmdc) 
     122+            LLVMDC=1 
     123+            ;; 
     124         *) 
     125             usage 
     126             ;; 
     127@@ -132,10 +136,11 @@ 
     128     shift 
     129 done 
     130  
     131-if [ ! "$DMD" -a ! "$GDC" ] 
     132+if [ ! "$DMD" -a ! "$GDC" -a ! "$LLVMDC" ] 
     133 then 
     134     DMD=1 
     135     GDC=1 
     136+    LLVMDC=1 
     137 fi 
     138  
     139 if [ "$DMD" = "1" ] 
     140@@ -146,4 +151,7 @@ 
     141 then 
     142     compile gdc runUnitTest_gdc 
     143 fi 
     144- 
     145+if [ "$LLVMDC" = "1" ] 
     146+then 
     147+    compile llvmdc runUnitTest_llvmdc 
     148+fi 
    136149Index: lib/gc/basic/gcx.d 
    137150=================================================================== 
    138 --- lib/gc/basic/gcx.d  (revision 3939
     151--- lib/gc/basic/gcx.d  (revision 3950
    139152+++ lib/gc/basic/gcx.d  (working copy) 
    140153@@ -65,6 +65,13 @@ 
     
    208221Index: lib/gc/basic/gcbits.d 
    209222=================================================================== 
    210 --- lib/gc/basic/gcbits.d   (revision 3939
     223--- lib/gc/basic/gcbits.d   (revision 3950
    211224+++ lib/gc/basic/gcbits.d   (working copy) 
    212225@@ -39,6 +39,10 @@ 
     
    223236Index: tango/text/convert/Layout.d 
    224237=================================================================== 
    225 --- tango/text/convert/Layout.d (revision 3939
     238--- tango/text/convert/Layout.d (revision 3950
    226239+++ tango/text/convert/Layout.d (working copy) 
    227240@@ -47,6 +47,12 @@ 
     
    260273Index: tango/text/xml/Document.d 
    261274=================================================================== 
    262 --- tango/text/xml/Document.d   (revision 3939
     275--- tango/text/xml/Document.d   (revision 3950
    263276+++ tango/text/xml/Document.d   (working copy) 
    264277@@ -1243,7 +1243,8 @@ 
     
    365378Index: tango/core/Vararg.d 
    366379=================================================================== 
    367 --- tango/core/Vararg.d (revision 3939
     380--- tango/core/Vararg.d (revision 3950
    368381+++ tango/core/Vararg.d (working copy) 
    369382@@ -15,6 +15,10 @@ 
     
    380393Index: tango/core/Atomic.d 
    381394=================================================================== 
    382 --- tango/core/Atomic.d (revision 3939
     395--- tango/core/Atomic.d (revision 3950
    383396+++ tango/core/Atomic.d (working copy) 
    384397@@ -270,6 +270,167 @@ 
     
    552565Index: tango/math/Math.d 
    553566=================================================================== 
    554 --- tango/math/Math.d   (revision 3939
     567--- tango/math/Math.d   (revision 3950
    555568+++ tango/math/Math.d   (working copy) 
    556569@@ -76,6 +76,14 @@ 
     
    701714Index: tango/math/internal/BignumX86.d 
    702715=================================================================== 
    703 --- tango/math/internal/BignumX86.d (revision 3939
     716--- tango/math/internal/BignumX86.d (revision 3950
    704717+++ tango/math/internal/BignumX86.d (working copy) 
    705 @@ -49,6 +49,8 @@ 
     718@@ -53,6 +53,8 @@ 
    706719 private: 
    707720 version(GNU) { 
     
    714727Index: tango/stdc/stdlib.d 
    715728=================================================================== 
    716 --- tango/stdc/stdlib.d (revision 3939
     729--- tango/stdc/stdlib.d (revision 3950
    717730+++ tango/stdc/stdlib.d (working copy) 
    718731@@ -94,6 +94,11 @@ 
     
    730743Index: tango/stdc/stdarg.d 
    731744=================================================================== 
    732 --- tango/stdc/stdarg.d (revision 3939
     745--- tango/stdc/stdarg.d (revision 3950
    733746+++ tango/stdc/stdarg.d (working copy) 
    734747@@ -13,6 +13,10 @@ 
Copyright © 2008, LDC Development Team.