[Mono-dev] 1.2.6: threads.h

Paolo Molaro lupus at ximian.com
Thu Dec 20 06:50:10 EST 2007

On 12/14/07 Sebastian Good wrote:
> I am compiling an embedding library which #includes 
> <mono/metadata/threads.h>, however in 1.2.6 this file does not compile 
> cleanly. threads.h apparently further includes 
> <mono/metadata/threads-types.h>, which is no longer shipped with mono. 
> Commenting out lines 70-72 (which reference the MonoThreadState class) 
> solves the problem. Trivial programs seem to run fine, though I am not sure 
> if there are any further knock-on effects. (I am currently compiling with 
> the Windows version of Mono 1.2.6)

This is fixed in svn: in the mean time just remove the 2-3 functions
from your copy of the threads.h header file.


lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better

More information about the Mono-devel-list mailing list