If someone has reported it, then it's not impossible.  Granted, a reproducible case helps here, along with any configuration settings.

Gareth aka. Kit

On 06/07/2019 03:46, Ben Grasset wrote:
On Fri, Jul 5, 2019 at 10:37 PM Ryan Joseph <generic...@gmail.com <mailto:generic...@gmail.com>> 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  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to