<br><br><div class="gmail_quote">On Jan 28, 2008 4:41 PM, Philip Van Hoof <<a href="mailto:spam@pvanhoof.be">spam@pvanhoof.be</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I noticed the previous errors where created by the code generator not<br>coping with _func appended vfunc names in the class's structs.</blockquote><div><br>Could you file a bug report for that please?<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I removed those from the API, now I get this list of errors (which looks<br>more sane to me, but still, I wonder how to fix all this).<br><div class="Ih2E3d"><br><br>warning CS8029: Compatibility: Use -out:FILE instead of --output FILE or -o FILE<br>
</div>generated/ListAdapter.cs(22,39): error CS1041: Identifier expected: `foreach' is a keyword<br>generated/ListAdapter.cs(14,24): error CS1527: Namespace elements cannot be explicitly declared as private, protected or protected internal<br>
generated/ListAdapter.cs(28,36): error CS1518: Expected `class', `delegate', `enum', `interface', or `struct'<br>generated/ListAdapter.cs(43,29): error CS0116: A namespace can only contain types and namespace declarations<br>
generated/ListAdapter.cs(59,29): error CS0116: A namespace can only contain types and namespace declarations<br>generated/ListAdapter.cs(72,29): error CS0116: A namespace can only contain types and namespace declarations<br>
generated/ListAdapter.cs(85,29): error CS0116: A namespace can only contain types and namespace declarations<br>generated/ListAdapter.cs(98,31): error CS0116: A namespace can only contain types and namespace declarations<br>
generated/ListAdapter.cs(114,31): error CS0116: A namespace can only contain types and namespace declarations<br>generated/ListAdapter.cs(130,29): error CS0116: A namespace can only contain types and namespace declarations<br>
generated/ListAdapter.cs(147,38): error CS1002: Expecting `;'<br>generated/ListAdapter.cs(140,29): error CS0116: A namespace can only contain types and namespace declarations<br>generated/LockableAdapter.cs(18,45): error CS1041: Identifier expected: `lock' is a keyword<br>
generated/LockableAdapter.cs(14,24): error CS1527: Namespace elements cannot be explicitly declared as private, protected or protected internal<br>generated/LockableAdapter.cs(22,40): error CS1518: Expected `class', `delegate', `enum', `interface', or `struct'<br>
generated/LockableAdapter.cs(32,29): error CS0116: A namespace can only contain types and namespace declarations<br>generated/LockableAdapter.cs(45,29): error CS0116: A namespace can only contain types and namespace declarations<br>
generated/LockableAdapter.cs(57,38): error CS1002: Expecting `;'<br>generated/LockableAdapter.cs(54,29): error CS0116: A namespace can only contain types and namespace declarations<br><div class="Ih2E3d">generated/MergeFolder.cs(150,39): error CS0102: The type `Tny.MergeFolder' already contains a definition for `FolderType'<br>
generated/MergeFolder.cs(71,39): (Location of the symbol related to previous error)<br></div>Compilation failed: 20 error(s), 3 warnings<br>make[3]: *** [libtinymail-sharp.dll] Error 1<br>make[3]: Leaving directory `/home/pvanhoof/repos/tinymail/trunk/bindings/dotnet'<br>
<div></div></blockquote><div><br>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.<br>
<br>Mike<br></div></div>