[m-rev.] for review: start using the new code in file_names.m
Zoltan Somogyi
zoltan.somogyi at runbox.com
Mon Jun 19 22:31:17 AEST 2023
On 2023-06-19 13:53 +02:00 CEST, "Julien Fischer" <jfischer at opturion.com> wrote:
>>>Unexpected: FILENAME
>>> MISMATCH 1 for
>>> ext_other(other_ext(".exe"))/newext_exec_gs(ext_exec_exec_opt):
>>> Mercury\hlc.gc\x86_64-w64-mingw32\Mercury\exes\hello.exe vs
>>> Mercury\hlc.gc\x86_64-w64-mingw32\Mercury\bin\hello.exe
>>
>> What is the value of executable_file_extension option in that case?
>
> ".exe"
I should have seen that from the mismatch message.
>> At this point, I would propose that we disable sanity checks in the
>> specific case where the newext asks for the lookup of the value
>> of an option. For those, what should matter is whether all parts of the
>> system agree on the directory where to put the file, not whether this
>> agrees with the old system, because I think the old system needs
>> some rationalization anyway.
>
> Clearly ;-) I have no objection to disabling the sanity checks in
> the specific case above.
The attached diff, which includes the one you sent, does this.
Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.fn20-fixed-disabled
Type: application/octet-stream
Size: 6064 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20230619/fac56697/attachment-0001.obj>
More information about the reviews
mailing list