зеркало из https://github.com/mono/mail-archives.git
149 строки
4.6 KiB
HTML
149 строки
4.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 622401] New: Conflicting compiler definitions in TimeZoneInfo.cs
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20622401%5D%20New%3A%20Conflicting%20compiler%20definitions%20in%0A%20TimeZoneInfo.cs&In-Reply-To=">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="102301.html">
|
|
<LINK REL="Next" HREF="102217.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 622401] New: Conflicting compiler definitions in TimeZoneInfo.cs</H1>
|
|
<B>bugzilla_noreply at novell.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20622401%5D%20New%3A%20Conflicting%20compiler%20definitions%20in%0A%20TimeZoneInfo.cs&In-Reply-To="
|
|
TITLE="[Mono-bugs] [Bug 622401] New: Conflicting compiler definitions in TimeZoneInfo.cs">bugzilla_noreply at novell.com
|
|
</A><BR>
|
|
<I>Wed Jul 14 18:01:55 EDT 2010</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="102301.html">[Mono-bugs] [Bug 622398] Can't call HttpWebRequest.GetRequestStream() from a thread pool thread
|
|
</A></li>
|
|
<LI>Next message: <A HREF="102217.html">[Mono-bugs] [Bug 622401] Conflicting compiler definitions in TimeZoneInfo.cs
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#102213">[ date ]</a>
|
|
<a href="thread.html#102213">[ thread ]</a>
|
|
<a href="subject.html#102213">[ subject ]</a>
|
|
<a href="author.html#102213">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE><A HREF="http://bugzilla.novell.com/show_bug.cgi?id=622401">http://bugzilla.novell.com/show_bug.cgi?id=622401</A>
|
|
|
|
<A HREF="http://bugzilla.novell.com/show_bug.cgi?id=622401#c0">http://bugzilla.novell.com/show_bug.cgi?id=622401#c0</A>
|
|
|
|
|
|
Summary: Conflicting compiler definitions in TimeZoneInfo.cs
|
|
Classification: Mono
|
|
Product: Mono: Class Libraries
|
|
Version: SVN
|
|
Platform: Other
|
|
OS/Version: Windows
|
|
Status: NEW
|
|
Severity: Minor
|
|
Priority: P5 - None
|
|
Component: Sys.Core
|
|
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
|
|
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">phil at thinkedge.com</A>
|
|
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
|
|
Found By: Development
|
|
Blocker: No
|
|
|
|
|
|
I want to bring your attention to a problem I noticed with revision r159234:
|
|
|
|
In TimeZoneInfo.cs, the following method is wrapped in a #if LIBC
|
|
|
|
static List<AdjustmentRule> ValidateRules (List<AdjustmentRule>
|
|
adjustmentRules)
|
|
|
|
but it's called by the following method which is outside any #if LIBC define:
|
|
|
|
private static TimeZoneInfo FromRegistryKey (string id, RegistryKey key)
|
|
|
|
This causes a compiler error when LIBC is not define and not targeting
|
|
Moonlight (!NET_2_1).
|
|
|
|
I believe the fix is to move ValidateRules method outside of #if LIBC or wrap
|
|
the FromRegistryKey method also within a #if LIBC.
|
|
|
|
I only noticed this because I'm compiling a modified version of the Mono class
|
|
libraries for the Mosa project where LIBC is not defined and not targeting
|
|
Moonlight. So it might not show up during the normal Mono build process.
|
|
|
|
For our purposes, it would be helpful to have this fixed. Thanks.
|
|
|
|
--
|
|
Configure bugmail: <A HREF="http://bugzilla.novell.com/userprefs.cgi?tab=email">http://bugzilla.novell.com/userprefs.cgi?tab=email</A>
|
|
------- You are receiving this mail because: -------
|
|
You are the QA contact for the bug.
|
|
You are the assignee for the bug.
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="102301.html">[Mono-bugs] [Bug 622398] Can't call HttpWebRequest.GetRequestStream() from a thread pool thread
|
|
</A></li>
|
|
<LI>Next message: <A HREF="102217.html">[Mono-bugs] [Bug 622401] Conflicting compiler definitions in TimeZoneInfo.cs
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#102213">[ date ]</a>
|
|
<a href="thread.html#102213">[ thread ]</a>
|
|
<a href="subject.html#102213">[ subject ]</a>
|
|
<a href="author.html#102213">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
|
|
mailing list</a><br>
|
|
</body></html>
|