[m-rev.] for review: fix silent failure of making .int file

Zoltan Somogyi zoltan.somogyi at runbox.com
Fri Dec 17 23:57:44 AEDT 2021


2021-12-17 19:05 GMT+11:00 "Julien Fischer" <jfischer at opturion.com>:
>> 2. When making interface files, we could decide whether to treat warnings
>>   as errors not based on the value of --halt-at-warn, but based on the value
>>   of a new option, maybe called --interface-halt-at-warn, which could be
>>   set independently. With this option, warnings could still be printed
>>   at interface generation time, but would not prevent programmers
>>   prioritizing fixing issues in other modules first.
>>
>> I myself would prefer 2 over both 1 and the status quo. Any other opinions?
> 
> I prefer option 2.

The attached diff implements option 2, extended with a separate option
for compiler invocations that make .opt and .trans_opt files.

For post commit review by Julien, mostly of the option names and the documentation,
since that is pretty much all there is.

I intend to add --nohalt-at-warn-{int,opt} to LIB_FLAGS.in, COMP_FLAGS.in etc
in a week, after everyone has had a chance to install this diff.

Zoltan.

Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.hawx
Type: application/octet-stream
Size: 515 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20211217/8de1480e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.hawx
Type: application/octet-stream
Size: 7496 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20211217/8de1480e/attachment-0001.obj>


More information about the reviews mailing list