[fpc-pascal] FPC happily eats wrong parameters

2013-09-24 Thread Mattias Gaertner
Hi, When calling fpc -d foo test.pas there are two mistakes: First the -d parameter is missing a value, which fpc silently ignores. And second there are two files to compile. FPC ignores that too, gives a hint, but compiles anyway. Design or bug? Mattias

Re: [fpc-pascal] FPC happily eats wrong parameters

2013-09-24 Thread Jonas Maebe
On 24 Sep 2013, at 14:17, Mattias Gaertner wrote: When calling fpc -d foo test.pas there are two mistakes: First the -d parameter is missing a value, which fpc silently ignores. And second there are two files to compile. FPC ignores that too, gives a hint, but compiles anyway. Design or bug?

Re: [fpc-pascal] FPC happily eats wrong parameters

2013-09-24 Thread Sven Barth
Am 24.09.2013 14:17, schrieb Mattias Gaertner: Hi, When calling fpc -d foo test.pas there are two mistakes: First the -d parameter is missing a value, which fpc silently ignores. And second there are two files to compile. FPC ignores that too, gives a hint, but compiles anyway. Design or bug?

Re: [fpc-pascal] FPC happily eats wrong parameters

2013-09-24 Thread Mattias Gaertner
On Tue, 24 Sep 2013 14:23:52 +0200 Jonas Maebe jonas.ma...@elis.ugent.be wrote: On 24 Sep 2013, at 14:17, Mattias Gaertner wrote: When calling fpc -d foo test.pas there are two mistakes: First the -d parameter is missing a value, which fpc silently ignores. And second there are two

Re: [fpc-pascal] FPC happily eats wrong parameters

2013-09-24 Thread Jonas Maebe
On 24 Sep 2013, at 14:34, Mattias Gaertner wrote: On Tue, 24 Sep 2013 14:23:52 +0200 Jonas Maebe jonas.ma...@elis.ugent.be wrote: By design, FPC gives a warning (not a hint) when two file names are specified. You are right, it is a warning. Why not an error? FPC used to silently ignore

Re: [fpc-pascal] FPC happily eats wrong parameters

2013-09-24 Thread Mattias Gaertner
On Tue, 24 Sep 2013 14:28:42 +0200 Sven Barth pascaldra...@googlemail.com wrote: Am 24.09.2013 14:17, schrieb Mattias Gaertner: Hi, When calling fpc -d foo test.pas there are two mistakes: First the -d parameter is missing a value, which fpc silently ignores. And second there are two