On Sun, 26 Oct 2025 13:36:03 +0100
Andreas Schwab <[email protected]> wrote:

> ../../../libgcobol/xmlparse.cc:394:22: error: no return statement in
> function returning non-void [-Werror=return-type] 394 | { SAYSO_DATAZ
> (name); }
[...]

   ecc9af31a70..89a6db7bbe2  master -> master

I'm sorry for the error.  I think this brings things under control.
I'm not sure what went awry because there's more than one issue.  

This commit is based on the current state of xmlparse.cc, and contains
some functionality beyond just quelling the messages.  

One difficulty on our end is that -Werror is useful only we agree
which version of the compiler is to be used, and which warnings
enabled.  My habit is to use -std=c++14 with gcc 15.  I don't
consistently use any warning/error options because they often produce a
barrage of messages whenever a change to, say gcc/cobol/Make-lang.in
triggers a rebuild of the whole compiler.  

--jkl

Reply via email to