On Fri, Jul 26, 2013 at 2:21 AM, Carsten Bager <cars...@beas.dk> wrote:
>> > The {$LONGSTRINGS OFF} directive is given at the beginning of the program, 
>> > and that
>> > eliminates any problems with "long strings" using the 2.05 compiler. That 
>> > does not seem to
>> > work with the new compiler.
>> >
>> > Is there a way around this problem?
>> >
>> > Carsten
>>
>> Did you try {$H-}? Sure, AFAIR it was just a shorthand {$LONGSTRING},
>
> I tried but it did not change anything.
> Carsten
>
>
>> Best regards,
>> Flávio

Ok, I can reproduce here. Typecasting the array to string fixes the
problem. You should file a bug ticket. (And maybe this belonged to the
fpc-dev list...)

-Flávio
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to