[fpc-pascal] FPC happily eats wrong parameters
Jonas Maebe
jonas.maebe at elis.ugent.be
Tue Sep 24 14:23:52 CEST 2013
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?
By design, FPC gives a warning (not a hint) when two file names are
specified. Accepting an empty -d parameter sounds like a bug though.
Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130924/934cd761/attachment.html>
More information about the fpc-pascal
mailing list