On 11/08/2024 15:19, Pascal via Gnoga-list wrote:
Le 11 août 2024 à 14:19, John McCabe<j...@mccabe.org.uk>  a écrit :

Compiler version is...

$ gnat --version
GNAT 14.2.0
Copyright (C) 1996-2024, Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.
You're are up to date!

Well, yes, I did say that right at the start ;-)

BTW - Here's dev_2.2 using the -b dev_2.2 option to the git clone, rather than 
cloning then checking out:
ok

make[2]: Entering directory 
'/d/McCabe/Ada/Projects/VsCodeExample/gnoga/deps/zanyblue/src/zbmcompile'
gprbuild -p -p -XOS=Windows_NT -XTYPE=static -XBUILD=Debug -aP../../src -P 
zbmcompile
Setup
    [mkdir]        exec directory for project zbmcompile
Compile
    [Ada]          zbmcompile-main.adb
    [Ada]          zbmcompile.adb
    [Ada]          zbmcompile-message_filter.adb
    [Ada]          zbmcompile-messages.adb
+===========================GNAT BUG DETECTED==============================+
| 14.2.0 (x86_64-w64-mingw32) Storage_Error EXCEPTION_STACK_OVERFLOW       |
| Error detected at zbmcompile-messages.adb:3479:7                         |
| Compiling 
D:\McCabe\Ada\Projects\VsCodeExample\gnoga\deps\zanyblue\src\zbmcompile\zbmcompile-messages.adb|
| Please submit a bug report; seehttps://gcc.gnu.org/bugs/  .              |
| Use a subject line meaningful to you and us to track the bug.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact command that you entered.                              |
| Also include sources listed below.                                       |
+==========================================================================+

Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.
Consider also -gnatd.n switch (see debug.adb).
<..snip..>
Weird error, you met a compiler bug.
I haven't this version, with my version 14.1 compilation is fine.
Maybe a regression bug, could you fill a bug report here as requested above?
https://gcc.gnu.org/bugzilla/
Yes, I noticed that one. I'll see if I can get round to it. TBH, I'm only trying to have a play with gnoga because I want to knock up a little UI app and I thought I'd see if I could do it with Ada. I'm tending towards using VC++ or something like that instead now.
Have you the opportunity to get GNAT 14.1?

I'm not sure; I'm not that familiar with MSYS2, so don't know how I'd go back to an earlier version without starting again. If you've got any clues... (e.g. can I just try using pacman to remove gnat 14.2 and install a specific 14.1 package?

cd demo/connect_four && ../../deps/zanyblue/bin/zbmcompile -i -v -G strings 
connectfour_messages connectfour
/bin/sh: line 1: ../../deps/zanyblue/bin/zbmcompile: No such file or directory
make: [Makefile:256: connect_four] Error 127 (ignored)
gprbuild -p -P demo/demo_agg.gpr connect_four -XPRJ_BUILD=Debug 
-XPRJ_TARGET=Windows -Xarch=x86_64 -XSC_OS=Windows -XDevelopment=Debug 
-XBUILD=Debug -XOS=Windows_NT
Compile
    [Ada]          connect_four.adb
connect_four.adb:12:06: error: file "connectfour_messages.ads" not found
Due to previous error.

Absolutely. Thanks.
_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to