ada-mode-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opaque build failure in wisitoken_grammar_runtime.adb


From: Simon Wright
Subject: Re: Opaque build failure in wisitoken_grammar_runtime.adb
Date: Tue, 5 Sep 2023 15:59:20 +0100

On 4 Sep 2023, at 17:01, Eric S. Londres <ericlondres@outlook.com> wrote:

wisitoken_grammar_runtime.adb:197:13: warning: unreachable code [enabled 
by default]

  compilation of wisitoken_grammar_runtime.adb failed

I can reproduce with GCC 13.1.0.

The (likely) problem is that this compilation was run with -gnatwe, => treat warnings as errors. GNAT is silent about this behaviour; it’d be good if the "warning" message actually said that it was being treated as an error.

Each version of GNAT detects more things to warn us about, which is normally a good thing.

If possible, can you try with GCC 12? (it just worked for me).

—S



reply via email to

[Prev in Thread] Current Thread [Next in Thread]