On Tue, 02 Dec 2014 04:05:59 +0100 Hans-Peter Diettrich <drdiettri...@aol.com> wrote:
> Jonas Maebe schrieb: > > > > Hans-Peter Diettrich wrote on ma, 01 dec 2014: > > > To get behaviour that is compatible with Delphi2009+, compile with > > -Mdelphiunicode or {$modeswitch delphiunicode}. > > The compiler option (-M) works, but the $modeswitch is not accepted by > the compiler (2.7.1): Illegal compiler switch "DELPHIUNICODE". The same > for {$mode ObjPas} - what else did I miss? > > When I use Lazarus and set the compiler to the new 2.7.1, the modeswitch > does not cause an error. You can set String=UnicodeString with -Mdelphiunicode or {$Mode delphiunicode} or {$ModeSwitch unicodestrings} All require 2.7.1. Mattias _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel