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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c7511c3c85f44995,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 X-Received: by 10.66.226.233 with SMTP id rv9mr2650506pac.42.1366665952664; Mon, 22 Apr 2013 14:25:52 -0700 (PDT) Path: bp1ni408pbd.1!nntp.google.com!news.glorb.com!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Tell GPRBuild to trigger an error on unknown options in project file? Date: Mon, 22 Apr 2013 23:25:49 +0200 Organization: Ada @ Home Message-ID: NNTP-Posting-Host: MElZi/LkXjdV3cIyylAczw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.15 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2013-04-22T23:25:49+02:00 List-Id: Hi people, I don't like when something does not behave as expected without an error= = message, or the same, get silently ignored. As an example, I just wanted to pass a `--target=3D=E2=80=A6` 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 Build= er = package which GPRBuild does not handle. [1]: http://docs.adacore.com/gprbuild-docs/html/gprbuild_ug.html#Switche= s -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity