Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEyal Alalouf <eyala@mainsoft.com>2005-11-16 16:35:02 +0300
committerEyal Alalouf <eyala@mainsoft.com>2005-11-16 16:35:02 +0300
commit2a57be7470f83e0be0b2086eb6651aed50513c03 (patch)
tree1e74e49a6a9219a70652ebf8bf9076cdf7c52394 /mcs/class/Novell.Directory.Ldap
parentde86d0d86f8da735e4badfaf612d5196697e95cf (diff)
Workaround compiler crash when using csc in java profile.
svn path=/trunk/mcs/; revision=53114
Diffstat (limited to 'mcs/class/Novell.Directory.Ldap')
-rw-r--r--mcs/class/Novell.Directory.Ldap/ChangeLog3
-rw-r--r--mcs/class/Novell.Directory.Ldap/Makefile3
-rw-r--r--mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ChangeLog3
-rw-r--r--mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/RespExtensionSet.cs6
4 files changed, 14 insertions, 1 deletions
diff --git a/mcs/class/Novell.Directory.Ldap/ChangeLog b/mcs/class/Novell.Directory.Ldap/ChangeLog
index 95ea04efc36..929ae510c3b 100644
--- a/mcs/class/Novell.Directory.Ldap/ChangeLog
+++ b/mcs/class/Novell.Directory.Ldap/ChangeLog
@@ -1,3 +1,6 @@
+2005-16-11 Eyal Alaluf <eyala@mainsoft.com>
+ * Makefile: Ignore ClsCompliant warnings for java profile
+
2005-27-09 Boris Kirzner <borisk@mainsoft.com>
* Novell.Directory.Ldap.vmwcsproj: added reference to resx files.
diff --git a/mcs/class/Novell.Directory.Ldap/Makefile b/mcs/class/Novell.Directory.Ldap/Makefile
index a9649a12489..65d32867bed 100644
--- a/mcs/class/Novell.Directory.Ldap/Makefile
+++ b/mcs/class/Novell.Directory.Ldap/Makefile
@@ -12,7 +12,8 @@ LIB_MCS_FLAGS = \
ifeq (net_1_1_java, $(PROFILE))
LIB_MCS_FLAGS += \
-r:rt.dll \
- -r:J2SE.Helpers.dll
+ -r:J2SE.Helpers.dll \
+ /nowarn:3021
endif
NO_TEST = yes
diff --git a/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ChangeLog b/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ChangeLog
index 19e34349fcc..51e2dff9148 100644
--- a/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ChangeLog
+++ b/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/ChangeLog
@@ -1,3 +1,6 @@
+2005-16-11 Eyal Alaluf <eyala@mainsoft.com>
+ * RespExtensionSet.cs: Workaround for csc bug
+
2005-27-09 Boris Kirzner <borisk@mainsoft.com>
* ChangeLog: added changelog file.
* ExceptionMessages.resx, ResultCodeMessages.resx: added generated resx files (for TARGET_JVM).
diff --git a/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/RespExtensionSet.cs b/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/RespExtensionSet.cs
index 846f3c8957c..701ce4b9a71 100644
--- a/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/RespExtensionSet.cs
+++ b/mcs/class/Novell.Directory.Ldap/Novell.Directory.Ldap.Utilclass/RespExtensionSet.cs
@@ -33,6 +33,12 @@ using System;
namespace Novell.Directory.Ldap.Utilclass
{
+#if TARGET_JVM
+ // This dummy class workarounds a MS CSC bug by using SupportClass before
+ // using its inner class (SupportClass.AbstractSetSupport)
+ class RespExtensionSetDummy : SupportClass {}
+#endif
+
/// <summary> This class extends the AbstractSet and Implements the Set
/// so that it can be used to maintain a list of currently
/// registered extended responses.