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?


> 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
> generated/ListAdapter.cs(14,24): error CS1527: Namespace elements cannot
> be explicitly declared as private, protected or protected internal
> generated/ListAdapter.cs(28,36): error CS1518: Expected `class',
> `delegate', `enum', `interface', or `struct'
> generated/ListAdapter.cs(43,29): error CS0116: A namespace can only
> contain types and namespace declarations
> generated/ListAdapter.cs(59,29): error CS0116: A namespace can only
> contain types and namespace declarations
> generated/ListAdapter.cs(72,29): error CS0116: A namespace can only
> contain types and namespace declarations
> generated/ListAdapter.cs(85,29): error CS0116: A namespace can only
> contain types and namespace declarations
> generated/ListAdapter.cs(98,31): error CS0116: A namespace can only
> contain types and namespace declarations
> generated/ListAdapter.cs(114,31): error CS0116: A namespace can only
> contain types and namespace declarations
> generated/ListAdapter.cs(130,29): error CS0116: A namespace can only
> contain types and namespace declarations
> generated/ListAdapter.cs(147,38): error CS1002: Expecting `;'
> generated/ListAdapter.cs(140,29): error CS0116: A namespace can only
> contain types and namespace declarations
> generated/LockableAdapter.cs(18,45): error CS1041: Identifier expected:
> `lock' is a keyword
> generated/LockableAdapter.cs(14,24): error CS1527: Namespace elements
> cannot be explicitly declared as private, protected or protected internal
> generated/LockableAdapter.cs(22,40): error CS1518: Expected `class',
> `delegate', `enum', `interface', or `struct'
> generated/LockableAdapter.cs(32,29): error CS0116: A namespace can only
> contain types and namespace declarations
> generated/LockableAdapter.cs(45,29): error CS0116: A namespace can only
> contain types and namespace declarations
> generated/LockableAdapter.cs(57,38): error CS1002: Expecting `;'
> generated/LockableAdapter.cs(54,29): error CS0116: A namespace can only
> contain types and namespace declarations
> generated/MergeFolder.cs(150,39): error CS0102: The type `Tny.MergeFolder'
> already contains a definition for `FolderType'
> generated/MergeFolder.cs(71,39): (Location of the symbol related to
> previous error)
> Compilation failed: 20 error(s), 3 warnings
> make[3]: *** [libtinymail-sharp.dll] Error 1
> make[3]: Leaving directory
> `/home/pvanhoof/repos/tinymail/trunk/bindings/dotnet'
>

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.

Mike
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to