Re: [fpc-devel] Strange problem with -M and -S command-line options

2008-09-22 Thread Aleksa Todorovic
Thanks for the quick reply, I'll make bug-report immediately. On Mon, Sep 22, 2008 at 14:00, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > On Mon, 22 Sep 2008, Aleksa Todorovic wrote: > >> Hi! >> >> >> As you can see, in the third case string is interpreted as >> ShortString, not AnsiString

Re: [fpc-devel] Strange problem with -M and -S command-line options

2008-09-22 Thread Michael Van Canneyt
On Mon, 22 Sep 2008, Aleksa Todorovic wrote: > Hi! > > > As you can see, in the third case string is interpreted as > ShortString, not AnsiString. Is this intended behaviour of compiler, > or command-line processing bug? This is intended behaviour. The Mode switch resets some other switches.

[fpc-devel] Strange problem with -M and -S command-line options

2008-09-22 Thread Aleksa Todorovic
Hi! I've just hit this problem, and wanted to report it, so someone can tell me if this is FPC or Lazarus bug. == Compiler version: 2.2.2 Lazarus version: svn trunk (revision 16671) Description: If -Sh is used before -Mobjfpc on command-line, string is interpreted as ShortString,