Am Sunday 13 November 2011 02:15:07 schrieb leledumbo: > It works when {$LONGSTRINGS ON} or {$H+} directive exists. I think the > compiler treats functions receiving array of char (or pointer to it) as > ShortString when none of the directives above exist.
No it does not work then. I put already the -Sh- additional compiler arg. For me it seems like a bug, because in the previous version of FPC (2-2-4.3) it works. It seems that the compiler now cuts every constant string in the sourcecode to 255 characters. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal