[m-rev.] for review: start using the new code in file_names.m

Julien Fischer jfischer at opturion.com
Sun Jun 18 21:45:43 AEST 2023


Hi Zoltan,

Another mismatch.

On Sun, 11 Jun 2023, Julien Fischer wrote:

> On Thu, 8 Jun 2023, Zoltan Somogyi wrote:
>
>>  - bootchecks on windows, to exercise e.g. the building of .bat files.
>
> I am in the process of testing things on Windows now.

Attempting to build samples/diff using mmc --make using MSVC as the C
compiler results in:

Making Mercury\cs\match.c
Making Mercury\cs\myers.c
Making Mercury\cs\options.c
Uncaught Mercury exception:
Software Error: predicate
`parse_tree.file_names.module_name_to_file_name'/9: Unexpected: FILENAME
MISMATCH 1 for
ext_other(other_ext(".obj"))/newext_target_obj(ext_obj_obj_opt):
Mercury\objs\diff.obj vs Mercur
y\os\diff.obj

(A bootcheck on Windows using gcc was successful, but it uses .o as the
object file extension, even on Windows.)

Julien.


More information about the reviews mailing list