Changeset 636:9fb1f559d9e9
- 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
| r627 |
r636 |
|
| 1 | 1 | Index: object.di |
|---|
| 2 | 2 | =================================================================== |
|---|
| 3 | | --- object.di (revision 3939) |
|---|
| | 3 | --- object.di (revision 3950) |
|---|
| 4 | 4 | +++ object.di (working copy) |
|---|
| 5 | 5 | @@ -150,6 +150,9 @@ |
|---|
| … | … | |
| 13 | 13 | } |
|---|
| 14 | 14 | |
|---|
| 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 |
|---|
| 72 | 15 | Index: lib/common/tango/core/BitManip.d |
|---|
| 73 | 16 | =================================================================== |
|---|
| 74 | | --- lib/common/tango/core/BitManip.d (revision 3939) |
|---|
| | 17 | --- lib/common/tango/core/BitManip.d (revision 3950) |
|---|
| 75 | 18 | +++ lib/common/tango/core/BitManip.d (working copy) |
|---|
| 76 | 19 | @@ -171,6 +171,10 @@ |
|---|
| … | … | |
| 87 | 30 | Index: lib/common/tango/core/Thread.d |
|---|
| 88 | 31 | =================================================================== |
|---|
| 89 | | --- lib/common/tango/core/Thread.d (revision 3939) |
|---|
| | 32 | --- lib/common/tango/core/Thread.d (revision 3950) |
|---|
| 90 | 33 | +++ lib/common/tango/core/Thread.d (working copy) |
|---|
| 91 | 34 | @@ -244,8 +244,29 @@ |
|---|
| … | … | |
| 134 | 77 | { |
|---|
| 135 | 78 | 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 | { |
|---|
| | 92 | Index: 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 |
|---|
| 136 | 149 | Index: lib/gc/basic/gcx.d |
|---|
| 137 | 150 | =================================================================== |
|---|
| 138 | | --- lib/gc/basic/gcx.d (revision 3939) |
|---|
| | 151 | --- lib/gc/basic/gcx.d (revision 3950) |
|---|
| 139 | 152 | +++ lib/gc/basic/gcx.d (working copy) |
|---|
| 140 | 153 | @@ -65,6 +65,13 @@ |
|---|
| … | … | |
| 208 | 221 | Index: lib/gc/basic/gcbits.d |
|---|
| 209 | 222 | =================================================================== |
|---|
| 210 | | --- lib/gc/basic/gcbits.d (revision 3939) |
|---|
| | 223 | --- lib/gc/basic/gcbits.d (revision 3950) |
|---|
| 211 | 224 | +++ lib/gc/basic/gcbits.d (working copy) |
|---|
| 212 | 225 | @@ -39,6 +39,10 @@ |
|---|
| … | … | |
| 223 | 236 | Index: tango/text/convert/Layout.d |
|---|
| 224 | 237 | =================================================================== |
|---|
| 225 | | --- tango/text/convert/Layout.d (revision 3939) |
|---|
| | 238 | --- tango/text/convert/Layout.d (revision 3950) |
|---|
| 226 | 239 | +++ tango/text/convert/Layout.d (working copy) |
|---|
| 227 | 240 | @@ -47,6 +47,12 @@ |
|---|
| … | … | |
| 260 | 273 | Index: tango/text/xml/Document.d |
|---|
| 261 | 274 | =================================================================== |
|---|
| 262 | | --- tango/text/xml/Document.d (revision 3939) |
|---|
| | 275 | --- tango/text/xml/Document.d (revision 3950) |
|---|
| 263 | 276 | +++ tango/text/xml/Document.d (working copy) |
|---|
| 264 | 277 | @@ -1243,7 +1243,8 @@ |
|---|
| … | … | |
| 365 | 378 | Index: tango/core/Vararg.d |
|---|
| 366 | 379 | =================================================================== |
|---|
| 367 | | --- tango/core/Vararg.d (revision 3939) |
|---|
| | 380 | --- tango/core/Vararg.d (revision 3950) |
|---|
| 368 | 381 | +++ tango/core/Vararg.d (working copy) |
|---|
| 369 | 382 | @@ -15,6 +15,10 @@ |
|---|
| … | … | |
| 380 | 393 | Index: tango/core/Atomic.d |
|---|
| 381 | 394 | =================================================================== |
|---|
| 382 | | --- tango/core/Atomic.d (revision 3939) |
|---|
| | 395 | --- tango/core/Atomic.d (revision 3950) |
|---|
| 383 | 396 | +++ tango/core/Atomic.d (working copy) |
|---|
| 384 | 397 | @@ -270,6 +270,167 @@ |
|---|
| … | … | |
| 552 | 565 | Index: tango/math/Math.d |
|---|
| 553 | 566 | =================================================================== |
|---|
| 554 | | --- tango/math/Math.d (revision 3939) |
|---|
| | 567 | --- tango/math/Math.d (revision 3950) |
|---|
| 555 | 568 | +++ tango/math/Math.d (working copy) |
|---|
| 556 | 569 | @@ -76,6 +76,14 @@ |
|---|
| … | … | |
| 701 | 714 | Index: tango/math/internal/BignumX86.d |
|---|
| 702 | 715 | =================================================================== |
|---|
| 703 | | --- tango/math/internal/BignumX86.d (revision 3939) |
|---|
| | 716 | --- tango/math/internal/BignumX86.d (revision 3950) |
|---|
| 704 | 717 | +++ tango/math/internal/BignumX86.d (working copy) |
|---|
| 705 | | @@ -49,6 +49,8 @@ |
|---|
| | 718 | @@ -53,6 +53,8 @@ |
|---|
| 706 | 719 | private: |
|---|
| 707 | 720 | version(GNU) { |
|---|
| … | … | |
| 714 | 727 | Index: tango/stdc/stdlib.d |
|---|
| 715 | 728 | =================================================================== |
|---|
| 716 | | --- tango/stdc/stdlib.d (revision 3939) |
|---|
| | 729 | --- tango/stdc/stdlib.d (revision 3950) |
|---|
| 717 | 730 | +++ tango/stdc/stdlib.d (working copy) |
|---|
| 718 | 731 | @@ -94,6 +94,11 @@ |
|---|
| … | … | |
| 730 | 743 | Index: tango/stdc/stdarg.d |
|---|
| 731 | 744 | =================================================================== |
|---|
| 732 | | --- tango/stdc/stdarg.d (revision 3939) |
|---|
| | 745 | --- tango/stdc/stdarg.d (revision 3950) |
|---|
| 733 | 746 | +++ tango/stdc/stdarg.d (working copy) |
|---|
| 734 | 747 | @@ -13,6 +13,10 @@ |
|---|