Problem with C# tests in 0.10.5

"Paul Wayper" <[email protected]>
Newsgroups gmane.text.clearsilver.general
Message-ID <[email protected]>
Hi people,

Just tried to compile the 0.10.5 package on an Athlon-XP under Fedora
7 (glibc 2.6.3, kernel 2.6.21-1.3228); all went fine until the C# tests:

make[1]: Entering directory
`/home/paulway/coding/clearsilver-0.10.5/csharp'
/usr/bin/mcs -target:library -unsafe CS.cs -out:clearsilver.dll
CS.cs(45,30): warning CS0169: The private method
`Clearsilver.Hdf.hdf_get_obj(Clearsilver.HDF*, string)' is never used
CS.cs(144,30): warning CS0169: The private method
`Clearsilver.CSTContext.cs_destroy(Clearsilver.CSPARSE**)' is never used
Compilation succeeded - 2 warning(s)
/usr/bin/mcs -r:clearsilver.dll -unsafe cstest.cs 
/usr/bin/mcs -r:clearsilver.dll -unsafe csperftest.cs
Running csharp test

Unhandled Exception:
System.Runtime.InteropServices.MarshalDirectiveException: Can not
marshal 'parameter #1': Pointers can not reference marshaled
structures. Use byref instead.
  at (wrapper managed-to-native) Clearsilver.Hdf:hdf_set_value
(Clearsilver.HDF*,string,string)
  at Clearsilver.Hdf.setValue (System.String name, System.String
value) [0x00000] 
  at CSTest.Main (System.String[] argv) [0x00000] 
Failed csharp test: cstest.cs
    See cstest.out and cstest.err
make[1]: *** [testcs] Error 1
make[1]: Leaving directory
`/home/paulway/coding/clearsilver-0.10.5/csharp'
make: *** [cs] Error 2

It's not really relevant to me since I really only need the C and Perl
libraries, but I thought I'd report it anyway.

HTH,

Paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.