[fpc-devel] ANN: Further patch for h2pas to use the ctypes unit

Michael Van Canneyt michael at freepascal.org
Mon Oct 2 20:41:49 CEST 2006



On Mon, 2 Oct 2006, J. Peter Mugaas wrote:

> I have posted a patch that supplements my original patch to the h2pas utility.  This removes some WriteLn debug statements that I made.  I also removed some pointer type redefinitions from the translated header.  Those pointer types are in ctypes.  The patch works works better when you are not using the "-p" parameter.
> 
> The patch is available in the bug report:
> 0007437
> 
> The patch file is h2pas-ctypes2.patch.
> 
> I am hoping that this gets mered into SVN.

I tried, but your patch fails. 

First of all, the EOL structure is different between your file and the original, 
which makes the patch HUGE and secondly, some chunks are rejected.

Both the .pas and .y file are in svn, please try again to create a patch...
Send them to me, and include your complete files as well. In case the patch 
fails, I'll try to see why from your original files.

Michael.



More information about the fpc-devel mailing list