From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c7511c3c85f44995 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 X-Received: by 10.68.208.99 with SMTP id md3mr5457125pbc.6.1366702665355; Tue, 23 Apr 2013 00:37:45 -0700 (PDT) Path: bp1ni342pbd.1!nntp.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Tell GPRBuild to trigger an error on unknown options in project file? References: Date: Tue, 23 Apr 2013 03:37:42 -0400 Message-ID: <8561zdae9l.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) Cancel-Lock: sha1:Y6jH+ersUoUrh7D4N+7PVjkc37o= MIME-Version: 1.0 X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 35f2851763a49c7c1c72732767 X-Received-Bytes: 1607 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Date: 2013-04-23T03:37:42-04:00 List-Id: "Yannick Duchêne (Hibou57)" writes: > I don't like when something does not behave as expected without an > error message, or the same, get silently ignored. Good sentiment. > As an example, I just wanted to pass a `--target=…` option to GPRBuild > in the Builder package of a project file, but it was silently ignored. > I later noticed the documentation indeed list this as part of the > options that may only be passed to GPRBuild's command line, and not in > project files [1]. > > Now I know, but I still feel it would be better to get a plain error > message (and compilation failure) when an option is passed via the > Builder package which GPRBuild does not handle. You are sending this message to the wrong place; report@gnat.com would be much more likely to get a useful response. -- -- Stephe