[Mono-dev] Compiling db4o 7.12 or 7.13
Paul
paul at all-the-johnsons.co.uk
Thu Jan 21 11:37:18 EST 2010
Hi,
Has anyone had any luck compiling db4o-7.12 or 7.13 using Mono-2.6.1?
I've tried, but keep getting the following error
gmcs -t:library -warn:0 -out:../bin/Db4objects.Db4o.dll -debug+
-keyfile:../db4objects.snk -define:NET_2_0,MONO,EMBEDDED @./sources
./Db4objects.Db4o/Internal/Caching/LRU2QLongCache.cs(51,36): error
CS0453: The type `long?' must be a non-nullable value type in order to
use it as type parameter `T' in the generic type or method
`System.Nullable<T>'.
Compilation failed: 1 error(s), 0 warnings
The offending code is this
public virtual object Produce(object key, IFunction4 producer,
IProcedure4 finalizer)
{
if (((long)key) == null)
{
throw new ArgumentNullException();
}
I'm trying to compile the .NET2 version and don't know if this is a
Mono, db4o or something else problem.
TTFN
Paul
--
Sie können mich aufreizen und wirklich heiß machen!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100121/cbd49073/attachment.bin
More information about the Mono-devel-list
mailing list