[m-users.] Compiling Mercury on Windows 11 64bit

David Epstein davideps at umich.edu
Mon Jan 17 23:13:00 AEDT 2022


Thank you. The ROTD version worked. I'll post again when I have results of
testing C# + Mercury on Android.

On Mon, Jan 17, 2022 at 5:22 AM Julien Fischer <jfischer at opturion.com>
wrote:

>
> Hi David,
>
> On Sun, 16 Jan 2022, David Epstein wrote:
>
> > I followed the instructions in the README files, opting to use MSYS2,
> > mingw-w64-x86_64, and csc (for C# grade). The process proceeded
> > gloriously until the error below. It may be just a warning (?) but it
> > stopped compilation. I'm not proficient enough in C to know what to do
> > next. Can anyone offer guidance?
>
> There's a couple of things you could try:
>
> 1. Use one of the recent ROTDs intead of the 20.06.1, since they no
> longer contain the code that is triggering the error.
>
> 2. Tell GCC not treat that warning as an error.  You can do this by
> creating a file named Mmake.params in the top-level of the source
> distribution and putting the following line in it:
>
>      EXTRA_CFLAGS = -Wno-error=array-parameter
>
> Julien.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20220117/4baf3304/attachment-0001.html>


More information about the users mailing list