[m-rev.] for review: check library install just once

Zoltan Somogyi zoltan.somogyi at runbox.com
Wed Jan 12 15:58:15 AEDT 2022


2022-01-12 15:48 GMT+11:00 "Julien Fischer" <jfischer at opturion.com>:
>> +            % We used to do this check once per compiler arg, which was
>> +            % quite wasteful.
>> +            %
>> +            % We also used to do this check, as we are we doing now,
>> +            % only when InvokedByMake = no. I, zs, don't know why, though
>> +            % I *guess* that it may be that the compiler invocation that *set*
>> +            % --invoked-by-mmc-make may have done it already.
> 
> It may be because the library grade check was extended to work when compiling
> single module programs using mmc directly, instead of just when using --make.
> (From the looks of it that fact is not documented at the moment.)

Extended from what?

If it was intended for single-module programs, then it is ironic
that the reason this came to my attention is that, due to a bug
in an as-yet-unfinished change, I got a dozen copies of the
same "standard library not installed" error message for ONE
invocation of mmc -f *.m, one for each module in the directory
(mdbcomp).

> The diff looks fine.

Thank you.

Zoltan.


More information about the reviews mailing list