[fpc-pascal] fpmake exception

Vincent Snijders vincent.snijders at gmail.com
Thu Aug 18 14:35:50 CEST 2011


2011/8/18 Henry Vermaak <henry.vermaak at gmail.com>:
> Hello
>
> While building fpc on my arm netbook, I found this crash in fpmake:
>
> EAccessViolation : Access violation
>  $00027448  FIXPATH,  line 1737 of src/fpmkunit.pp
>  $00039E24  TTARGET__SETNAME,  line 5577 of src/fpmkunit.pp
>  $00027F24  TTARGETS__ADDEXAMPLEPROGRAM,  line 2174 of src/fpmkunit.pp
>  $000088F4  main,  line 65 of fpmake.pp
>
> Attached one-line patch fixes it for me.  Can someone apply it now, or shall
> I file a bug-report?

I think the uniquestring call should be just before
P:=PChar(Result);

Vincent



More information about the fpc-pascal mailing list