On Mon, 2008-01-28 at 16:51 -0600, Mike Kestner wrote: > On Jan 28, 2008 4:41 PM, Philip Van Hoof <[EMAIL PROTECTED]> wrote:
> I noticed the previous errors where created by the code generator not > coping with _func appended vfunc names in the class's structs. > > Could you file a bug report for that please? Will do. > I removed those from the API, now I get this list of errors (which > looks more sane to me, but still, I wonder how to fix all this). > > > warning CS8029: Compatibility: Use -out:FILE instead of > --output FILE or -o FILE > > generated/ListAdapter.cs(22,39): error CS1041: Identifier > expected: `foreach' is a keyword ps. I'm trying things like this without success. Studying that fixup code :) <?xml version="1.0"?> <metadata> <remove-node path="/api/namespace/[EMAIL PROTECTED]'TnyList']/[EMAIL PROTECTED]'foreach']" /> </metadata> > I'll take a look at this tomorrow. Thanks for trying it out. Those > both look like simple keyword mangling issues. They just need to be > added to the SymbolTable method that does the mangling. You could > file a bug for those as well if you wanted. Okay, will do. Some of the compilation errors are about actual words being used that generate to a C# construction that uses a C# keyword. Might be hard to fix. Lucky I don't really need them, although having access the the C developer's fast foreach implementation of the list could become useful when implementing a IList with a IEnumeratable, etc. I'm guessing that if I want to add an 'implements', I do something like this to the metadata file: <add-node path="/api/namespace/[EMAIL PROTECTED]'TnyList']/implements/[EMAIL PROTECTED]'IList']" /> And then make a List.custom that implements all that IList needs (which can be done with tny's list API). Right? (it's a guess) -- Philip Van Hoof, freelance software developer home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org http://pvanhoof.be/blog http://codeminded.be _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
