mail-archives/mono-bugs/2003-July/006435.html

97 строки
3.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 46500][Nor] New - CSC namespace error that MCS doesn't catch
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:bugzilla-daemon%40rocky.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="006434.html">
<LINK REL="Next" HREF="006436.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 46500][Nor] New - CSC namespace error that MCS doesn't catch
</H1>
<B>bugzilla-daemon@rocky.ximian.com
</B>
<A HREF="mailto:bugzilla-daemon%40rocky.ximian.com"
TITLE="[Mono-bugs] [Bug 46500][Nor] New - CSC namespace error that MCS doesn't catch">bugzilla-daemon@rocky.ximian.com
</A><BR>
<I>Thu, 17 Jul 2003 01:35:16 -0400 (EDT)</I>
<P><UL>
<LI> Previous message: <A HREF="006434.html">[Mono-bugs] Private gossip
</A></li>
<LI> Next message: <A HREF="006436.html">[Mono-bugs] [Bug 46500][Nor] Changed - CSC namespace error that MCS doesn't catch
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6435">[ date ]</a>
<a href="thread.html#6435">[ thread ]</a>
<a href="subject.html#6435">[ subject ]</a>
<a href="author.html#6435">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by <A HREF="mailto:peter@newton.cx.">peter@newton.cx.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=46500">http://bugzilla.ximian.com/show_bug.cgi?id=46500</A>
--- shadow/46500 Thu Jul 17 01:35:15 2003
+++ shadow/46500.tmp.11316 Thu Jul 17 01:35:15 2003
@@ -0,0 +1,33 @@
+Bug#: 46500
+Product: Mono/MCS
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Misc
+AssignedTo: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
+ReportedBy: <A HREF="mailto:peter@newton.cx">peter@newton.cx</A>
+QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
+TargetMilestone: ---
+URL:
+Cc:
+Summary: CSC namespace error that MCS doesn't catch
+
+CSC seems to have implicit 'using' directives based on the namespace
+currently being compiled, or something like that. It will give compile
+errors on files that MCS accepts.
+
+Example: Mono.Data.SybaseClient/Mono.Data.SybaseTypes/SybaseDecimal.cs
+
+MCS will compile Mono.Data.SybaseClient without complaints, but CSC will
+bomb with an error equivalent to &quot;No such class Mono.Math.Pow, maybe you
+need a /r: flag.&quot;
+
+That file has &quot;using System;&quot; and invokes the function &quot;Math.Pow&quot;, but for
+some reason CSC thinks it should look in the &quot;Mono.&quot; namespace first (there
+is no &quot;using Mono;&quot; directive). The only reason I can think that it would
+do that would be because the namespace being compiled is
+Mono.Data.SybaseTypes. Clearly csc has no built-in Mono specifics.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="006434.html">[Mono-bugs] Private gossip
</A></li>
<LI> Next message: <A HREF="006436.html">[Mono-bugs] [Bug 46500][Nor] Changed - CSC namespace error that MCS doesn't catch
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6435">[ date ]</a>
<a href="thread.html#6435">[ thread ]</a>
<a href="subject.html#6435">[ subject ]</a>
<a href="author.html#6435">[ author ]</a>
</LI>
</UL>
</body></html>