Closed jeanbaptistelab closed 9 years ago
In the past there used to be some issues with defining _d_newclass directly in gtk.Builder. I'll have to check the different compilers if this is no longer the case with all of them.
@MikeWey although my PR fixes build issues with DMD v2.068.0, it causes an unresolved symbol at runtime. The forward declaration for extern (C) Object _d_newclass(const TypeInfo_Class ci); needs to be put in the global scope (I'd moved it in inside the Builder class, which was good enough for build issue but caused an unresolved symbol at run time). I've commited a fix on my GtkD fork, see 9599251ebc6b42526b68c7e715cab120fd87bff8
Merged in commit 0851bf9616e3831b3daf4207f90045306a4ca742 as for _d_newclass i am using the same fix as for the master branch. The Wrapper that generates the code based on the GTK documentation currently doesn't allow for adding things to the global scope of a module.
The title says it all really ;)
I've not tested with any other compiler or version...