On Fri, Jul 5, 2019 at 10:37 PM Ryan Joseph <[email protected]> wrote:
> String constant too long while ansistrings are disabled
>
> Regards,
> Ryan Joseph
>
Getting that with "var SomeString: AnsiString = " should be (and is)
impossible at all times.
Getting that with "var SomeString: String = " only *maybe* should be (but
is regardless) impossible at all times.
Getting that with "const SomeString = " when in {$H-} is expected at all
times.
Getting that with "const SomeString = " when in {$H+} should be (and is)
impossible at all times.
Typed constants / variables and untyped constants are *not* the same thing.
_______________________________________________
fpc-devel maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel