[Lazarus] Access violation in build_lcl_docs --outfmt chm

Andrew Haines AndrewD207 at aol.com
Thu Mar 8 14:17:14 CET 2012


On 03/07/12 03:22, Mattias Gaertner wrote:
> On Tue, 06 Mar 2012 22:23:07 -0500
> Andrew Haines <AndrewD207 at aol.com> wrote:
> 

>> Revision 20196 is the culprit.
>>
> The chm units uses ansi and widestrings. FPC now has string encodings,
> so you now have to be more careful when mixing strings of different
> kind. For performance and avoiding conversion bugs it is better
> to use only one type of strings.
> 

I tried using strings instead of widestrings but no change. But then I
noticed that a "^" was missing for StrECopy in fpc r20196. Adding that
fixed the crash. I submitted a bug report with a patch
http://bugs.freepascal.org/view.php?id=21443

Whew! Such a large amount of misery for such a small bug :)

Regards,

Andrew




More information about the Lazarus mailing list