Changeset 642:307ae566885f
- Timestamp:
- 10/03/08 11:31:16
(3 months ago)
- Author:
- Christian Kamm <kamm incasoftware de>
- branch:
- default
- Message:
Make default argument protection check not error for undefined protection.
Fix symbol visibility issues in Tango.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r630 |
r642 |
|
| 2940 | 2940 | if(arg->defaultArg->op == TOKvar) |
|---|
| 2941 | 2941 | { VarExp *ve = (VarExp *)arg->defaultArg; |
|---|
| 2942 | | if(ve->var->protection < sc->protection) |
|---|
| | 2942 | if(ve->var->protection != PROTundefined && ve->var->protection < sc->protection) |
|---|
| 2943 | 2943 | error(loc, "default argument %s has stronger protection than function %s", ve->var->toChars(), toChars()); |
|---|
| 2944 | 2944 | } |
|---|
| r641 |
r642 |
|
| 13 | 13 | } |
|---|
| 14 | 14 | |
|---|
| | 15 | Index: lib/common/tango/core/Exception.d |
|---|
| | 16 | =================================================================== |
|---|
| | 17 | --- lib/common/tango/core/Exception.d (revision 3954) |
|---|
| | 18 | +++ lib/common/tango/core/Exception.d (working copy) |
|---|
| | 19 | @@ -223,7 +223,7 @@ |
|---|
| | 20 | /** |
|---|
| | 21 | * The basic exception thrown by the tango.io.vfs package. |
|---|
| | 22 | */ |
|---|
| | 23 | -private class VfsException : IOException |
|---|
| | 24 | +class VfsException : IOException |
|---|
| | 25 | { |
|---|
| | 26 | this( char[] msg ) |
|---|
| | 27 | { |
|---|
| | 28 | @@ -234,7 +234,7 @@ |
|---|
| | 29 | /** |
|---|
| | 30 | * The basic exception thrown by the tango.io.cluster package. |
|---|
| | 31 | */ |
|---|
| | 32 | -private class ClusterException : IOException |
|---|
| | 33 | +class ClusterException : IOException |
|---|
| | 34 | { |
|---|
| | 35 | this( char[] msg ) |
|---|
| | 36 | { |
|---|
| 15 | 37 | Index: lib/common/tango/core/BitManip.d |
|---|
| 16 | 38 | =================================================================== |
|---|
| … | … | |
| 343 | 365 | byte[64] byteargs = void; |
|---|
| 344 | 366 | long[64] longargs = void; |
|---|
| | 367 | Index: tango/io/vfs/model/Vfs.d |
|---|
| | 368 | =================================================================== |
|---|
| | 369 | --- tango/io/vfs/model/Vfs.d (revision 3954) |
|---|
| | 370 | +++ tango/io/vfs/model/Vfs.d (working copy) |
|---|
| | 371 | @@ -38,7 +38,7 @@ |
|---|
| | 372 | |
|---|
| | 373 | *******************************************************************************/ |
|---|
| | 374 | |
|---|
| | 375 | -private struct VfsStats |
|---|
| | 376 | +struct VfsStats |
|---|
| | 377 | { |
|---|
| | 378 | ulong bytes; // byte count of files |
|---|
| | 379 | uint files, // number of files |
|---|
| 345 | 380 | Index: tango/core/Vararg.d |
|---|
| 346 | 381 | =================================================================== |
|---|
| … | … | |
| 723 | 758 | { |
|---|
| 724 | 759 | alias void* va_list; |
|---|
| | 760 | Index: tango/util/log/Log.d |
|---|
| | 761 | =================================================================== |
|---|
| | 762 | --- tango/util/log/Log.d (revision 3954) |
|---|
| | 763 | +++ tango/util/log/Log.d (working copy) |
|---|
| | 764 | @@ -1275,7 +1275,7 @@ |
|---|
| | 765 | |
|---|
| | 766 | *******************************************************************************/ |
|---|
| | 767 | |
|---|
| | 768 | -private struct LogEvent |
|---|
| | 769 | +struct LogEvent |
|---|
| | 770 | { |
|---|
| | 771 | private char[] msg_, |
|---|
| | 772 | name_; |
|---|
| | 773 | Index: tango/time/chrono/GregorianBased.d |
|---|
| | 774 | =================================================================== |
|---|
| | 775 | --- tango/time/chrono/GregorianBased.d (revision 3954) |
|---|
| | 776 | +++ tango/time/chrono/GregorianBased.d (working copy) |
|---|
| | 777 | @@ -21,7 +21,7 @@ |
|---|
| | 778 | |
|---|
| | 779 | |
|---|
| | 780 | |
|---|
| | 781 | -private class GregorianBased : Gregorian { |
|---|
| | 782 | +class GregorianBased : Gregorian { |
|---|
| | 783 | |
|---|
| | 784 | private EraRange[] eraRanges_; |
|---|
| | 785 | private int maxYear_, minYear_; |
|---|