Hi *,
I guess it's my fault, not Mono's, but some code that compiled well on
2.6 doesn't work anymore on 2.8. I suppose this is somewhat related to
covariance/contravariance of delegates but I'd like to have someone tell
me «Eck! Whay did you do that? That's wrong!». Here is the error:
Hi,
On Mon, Dec 20, 2010 at 10:01 AM, Federico Di Gregorio f...@initd.org wrote:
I'd like to have someone tell me «Eck! Whay did you do that? That's wrong!».
Eck! Why did you do that? That's wrong!
(You're welcome ;)
test.cs(15,16): error CS0030: Cannot convert type
Hello,
There doesn't seem to be any relation between S and T - which means
the types are incompatible, and so not eligible for generic type
parameter variance.
The reason is, the abstract function definition specifies a type
constraint 'T' and even though your overridden method signature is
On 20/12/2010 10:15, Jb Evain wrote:
On Mon, Dec 20, 2010 at 10:01 AM, Federico Di Gregorio f...@initd.org wrote:
I'd like to have someone tell me «Eck! Whay did you do that? That's
wrong!».
Eck! Why did you do that? That's wrong!
(You're welcome ;)
test.cs(15,16): error CS0030:
Hello,
You could propagate the abstract method type parameter out to the
class definition:
///
public abstract class AT
{
public abstract Funcstring, int, T GetXXX();
}
///
Then, override as follows:
///
public class CT : AT
{
Funcstring, int, T xxx;
public override Funcstring, int, T
On 20/12/2010 11:11, Tom Spink wrote:
You could propagate the abstract method type parameter out to the
class definition:
Unfortunately I can't have a generic abstract class because I need:
DictionaryType,A precompiledExpressionsByType;
and then, in other parts of the library:
X result =
Right Jon, it is a mixed mode C++/CLI assembly and I am trying to create an
instance of a managed C++ object within, which in turn, accesses the legacy
'native' C++ code (which is also within this assembly).
Original problem on this thread was the 'file not found error'. Since
another dll was
On Dec 19, 2010, at 4:57 PM, mike wrote:
For some reason, I
thought we chose this CreateInstance() approach over the P/Invoke for
performance reasons.
If you have concerns about P/Invoke performance, you might consider looking
into the System.Security.SuppressUnmanagedCodeSecurityAttribute
Thanks for the reply Robert. I was not able to make install mono until I
added --with-libgdiplus=no to the configure options since I could not make
libgdiplus since I did not have the prereqs and did not need system.drawing.
The reason we tried that option set to no when configuring the mono make
On 20.12.2010 17:27, CodeSlinger wrote:
Thanks for the reply Robert. I was not able to make install mono until I
added --with-libgdiplus=no to the configure options since I could not make
libgdiplus since I did not have the prereqs and did not need system.drawing.
The reason we tried that
Hello, I am relatively new to mono. I am trying to build it for Windows to
run in under WinPE. The more stripped down the better.
I download mono-2.8.1.tar.bz2 and tried to build in Windows 7 under Cygwin.
No luck; weird sharing violation errors.
I have successfully built the code cross
The official Mono release for Windows is built using Cygwin. I'm pretty
sure it's an XP machine.
Jonathan
On 12/20/2010 3:00 PM, greenaj wrote:
Hello, I am relatively new to mono. I am trying to build it for Windows to
run in under WinPE. The more stripped down the better.
I download
I uploaded two patches for the following bugs:
https://bugzilla.novell.com/show_bug.cgi?id=660294
https://bugzilla.novell.com/show_bug.cgi?id=478489
How should I get my patches reviewed?
Thanks.
___
Mono-devel-list mailing list
Rodrigo kindly helped me analyzing bug
383909https://bugzilla.novell.com/show_bug.cgi?id=383909. I
got to the following status:
*Using the .net framework*: if you create a DirectoryInfo object with a
directory name larger than 248 chars, a PathTooLongException is thrown (even
of no actual
Thanks for the replay, I was hoping it would be Linux cross compile because
the environment is so much easier to work with. I am mainly a Windows
programmer who has some experience in Linux, but the Cygwin environment is a
lot harder to use than Linux.
Is there any current help that one can get
Hi,
660294 was also on my radar, as it's an easy fix. You were faster than me.
:)
I can take care of reviewing and committing them once I've got my Git
environment set up, which should be soon.
Meanwhile, could you please turn the examples you posted in the bug reports
into unit tests?
Jérôme
I successfully built Mono on Windows following this little tutorial:
http://ivanz.com/2006/03/14/compile-mono-svn-head-on-windows/
Except it's now Git rather than SVN.
greenaj wrote:
Thanks for the replay, I was hoping it would be Linux cross compile
because the environment is so much
It should run fine, as it's /probably/ doing what the cast to object
is doing... But, of course, it violates type-safety so the compiler
moans at you.
Like I suggested, if you cast to object, then cast to the delegate,
this'll get round the compilation error.
-- Spink
On 20 December 2010 11:09,
Thanks Robert, that helps a lot. I would love to see the developers add even
more modularity to the configuration. I seem to remember some more web stuff
- perhaps asp.net, that it would be nice to be able to configure out as I
don't need it.
--with-libgdiplus=no and --with-libgdiplus=installed
I am maintaining my C# application source code in TFS and building the
executable with VS2010 with the project and solution files and binaries
located on a Samba share available to my Linux RHEL45 system and in general
this works great.
Since VS2010 supports remote debugging, is there a Linux
20 matches
Mail list logo