Hello,
I don't know if I have this correct, but until 2.0 value types were not
nullables. I have trid this solution my self but you could try this
alternative code:
NullableDateTime dt = new NullableDateTime(null);
or alternatively
DateTime? dt = null;
and later do the check
if(dt != null)
Hi there
When compiling mono-svn on a 64 bit debian 4.0, it takes a _very_ long time to
run the tests (make tests in mono/mono/tests). In fact, I think it may be
hanging:
Testing loader.exe... pass.
Testing pointer.exe... pass.
Testing hashcode.exe... pass.
Testing delegate1.exe... pass.
Hello Casey,
I've noticed that on a recent SVN build of mono, I get a CS0019 error if
I try to compare a value type against null. E.g.:
DateTime dt;
if (dt != null)
Console.WriteLine(dt);
As far as I can tell, this is the correct behavior, since a value type
can't be null. I'm
Marek Safar wrote:
Hello Casey,
I've noticed that on a recent SVN build of mono, I get a CS0019 error if
I try to compare a value type against null. E.g.:
DateTime dt;
if (dt != null)
Console.WriteLine(dt);
As far as I can tell, this is the correct behavior, since a value type
Hi there
I am getting a pretty confusing message when trying to compile mono-svn - it
can not find mcs.
The machine already have an install of mono-1.9. My PATH (ect) includes a
reference to this: Here is the last few lines of output from the compilation
process:
Making all in runtime
Hi there
I have problems getting CruiseControl.NET (1.4.0.3226) to run stable on mono
1.9 both on 32 and 64 bit systems. Many errors. Any ideas what could be
causing this particular one, which occurs quite often:
** (CruiseControl.NET-1.4.0.3226/server/ccnet.exe:11885): WARNING **:
Slobodnic, Ciprian wrote:
Is there any information regarding support for Mac PowerPCs? Based on
the Silverlight 2.0 information it seems like Ms will not support it.
Thanks,
Ciprian Slobodnic
Ciprian,
Scott from MS officially confirmed that they are not going to support
Silverlight
Hi,everyone.I have a strange problem on compiling olive.
The error report is:System.Windows.Browser.Netnamespace
BrowserHttpWebResponse.cs has some function using override but actually the
original type HeepWebResponse's function is not a virtual one .So I can not
compile the olive source~
Hi,
This is tracked as:
https://bugzilla.novell.com/show_bug.cgi?id=320036
Zoltan
2008/4/8 Aras Pranckevicius [EMAIL PROTECTED]:
Hi,
We have a problem in that when Data Execution Prevention (DEP) on
Windows XP/Vista is on, some Mono scripts can't be executed.
When debugging the
Hi,
We have a problem in that when Data Execution Prevention (DEP) on
Windows XP/Vista is on, some Mono scripts can't be executed.
When debugging the thing, it looks like sometimes mono-codeman
allocates memory through raw malloc instead of VirtualAlloc with
proper execute flags. Specifically
Hello Andrés,
Marek Safar wrote:
Hello Casey,
I've noticed that on a recent SVN build of mono, I get a CS0019 error if
I try to compare a value type against null. E.g.:
DateTime dt;
if (dt != null)
Console.WriteLine(dt);
As far as I can tell, this is the correct
Miguel de Icaza a écrit :
We use ilasm for C toolchain and we were planning to add a few features. Are
we better off waiting for new version?
Am sorry if this was confusing on the web page.
We are not looking to rewrite ilasm, we are only looking to change the
backend engine for it.
On Tue, 2008-04-08 at 10:14 +0100, Marek Safar wrote:
Hello Casey,
I've noticed that on a recent SVN build of mono, I get a CS0019 error if
I try to compare a value type against null. E.g.:
DateTime dt;
if (dt != null)
Console.WriteLine(dt);
As far as I can tell, this is
Hello,
I've noticed that on a recent SVN build of mono, I get a CS0019
error if
I try to compare a value type against null. E.g.:
DateTime dt;
if (dt != null)
Console.WriteLine(dt);
As far as I can tell, this is the correct behavior, since a value type
can't
On Tue, 2008-04-08 at 19:26 +0100, Marek Safar wrote:
Hello,
So, my question is, what's going on here? Does anyone know what the
semantics are if the compiler generates a conditional based on a
`valuetype CMP null' test?
This particular comparison is in-lined to false
On Tue, 2008-04-08 at 12:53 +0100, Marek Safar wrote:
Hello Andrés,
Marek Safar wrote:
Hello Casey,
I've noticed that on a recent SVN build of mono, I get a CS0019 error if
I try to compare a value type against null. E.g.:
DateTime dt;
if (dt != null)
Hello,
I'm working with code that does this:
if (valuetype != null)
{
// Code assuming `valuetype' is initialized.
}
This is correct, and `valuetype' will be always initialized
Which is wrong, since the test is (apparently) always true. Even worse
would be:
if (valuetype
On Tue, 2008-04-08 at 20:38 +0100, Marek Safar wrote:
Hello,
I'm working with code that does this:
if (valuetype != null)
{
// Code assuming `valuetype' is initialized.
}
This is correct, and `valuetype' will be always initialized
Yes, but the body of the 'if' is
Hello All,
I have added the implementations for g_ucs4_to_utf16 and
g_utf16_to_ucs4 along with unit tests. Please review.
I did have some questions. First I added the code to the utf8.c file
which I am thinking that may not be right. Let me know if there is a
better place to put them or if a
Sorry, it's not licensed under MIT/X11, but whatever license Boehm/GC 7
releases the files under (which appears close to MIT/X11).
Thanks,
Jonathan
On Tue, Apr 8, 2008 at 4:33 PM, Jonathan Chambers [EMAIL PROTECTED] wrote:
Hello,
Here is a patch that back ports a few lines from GC 7.0 to
Hello,
Here is a patch that back ports a few lines from GC 7.0 to support
Win64.
Code is contributed under MIT/X11 license.
Thanks,
Jonathan
Index: win32_threads.c
===
--- win32_threads.c (revision 100097)
+++ win32_threads.c
Hi,
Am 07.04.2008 um 20:51 schrieb Miguel de Icaza:
As pointed out previously by someone, Sun's Java Media Framework is
not the best point to model from. It is much too complicated and
inefficient to use, and can be considered mostly dead (we had to use
it at university for a project, but Sun
Hello Jonathan,
Am 08.04.2008 um 22:43 schrieb Jonathan Chambers:
Sorry, it's not licensed under MIT/X11, but whatever license Boehm/
GC 7 releases the files under (which appears close to MIT/X11).
Thanks,
Jonathan
On Tue, Apr 8, 2008 at 4:33 PM, Jonathan Chambers
[EMAIL PROTECTED]
Casey Marshall wrote:
meaning `valuetype' would never be initialized. It's a little nit-picky,
since I don't think this results in any real bugs, since the value types
here are usually simple (e.g., Rectangle, DateTime), but it easily
could. It almost seems like the buggy gmcs was doing a
24 matches
Mail list logo