[Mono-list] Fw: [Mono-winforms-list] (no subject)
François-Denis Gonthier
fgonthier@hermes.usherb.ca
Thu, 24 Oct 2002 23:20:46 -0400
----- Original Message -----
From: "François-Denis Gonthier" <fgonthier@hermes.usherb.ca>
To: <mono-winforms-list@ximian.com>
Sent: Thursday, October 24, 2002 11:12 PM
Subject: [Mono-winforms-list] (no subject)
> Hello all,
>
> I think this need to be clarified:
>
> I'm working on getting System.Windows.Forms to compile in Windows using
> Microsoft.NET and besides having TONS of warning about class being already
> defined, I got this error:
>
> Win32.cs(676,42): error CS0029: Cannot implicitly convert type 'long' to
> 'int'
>
> An example of offending line is:
>
> public const int SS_SUNKEN = 0x00001000L;
>
> The constant is clearly 'long' because of the trailing L. I don't
> understand why Mono accepts this without a warning.
>
> François-Denis Gonthier
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GIT/GO d+(-) s a-- C++ UL? P L+(++) E--- W N+ o-- K- w++ O--- M? V? PS PE
Y+
> PGP- t+ 5(+) X-- R tv+ b+ DI+++(++++) D+(++) G-- !e h-- r++ y+
> ------END GEEK CODE BLOCK------
>
>
>
> _______________________________________________
> Mono-winforms-list maillist - Mono-winforms-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list