[fpc-pascal] Embedded ARM7 and long strings
Flávio Etrusco
flavio.etrusco at gmail.com
Fri Jul 26 15:55:20 CEST 2013
On Fri, Jul 26, 2013 at 2:21 AM, Carsten Bager <carsten at 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
More information about the fpc-pascal
mailing list