GNOME Bugzilla – Bug 727652
Compilation fails in some cases when using [GenericAccessors]
Last modified: 2014-04-05 16:37:12 UTC
The following test program fails to compile on c-level: [GenericAccessors] public interface ITest<G> : Object { } public class Test : Object, ITest<int> { } void main () { } Output from gcc: In function ‘test_itest_get_g_destroy_func’: error: ‘int_destroy’ undeclared (first use in this function)
Created attachment 273613 [details] [review] Fix generation of generic accessors Fixes bug 727652
commit c045337110c90786ddb03cac511787252b948655 Author: Simon Werbeck <simon.werbeck@gmail.com> Date: Sat Apr 5 13:11:51 2014 +0200 codegen: Do not generate generic destroy func for non-disposable structs Fixes bug 727652 This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.