https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120621

--- Comment #11 from James K. Lowden <jklowden at gcc dot gnu.org> ---
I would like to close this issue or fix what remains.  It was reopened because
it broke the bootstrap build, a lesson sorely learned.  With the commit of June
20, that's been fixed. 

As of today, using a just-installed in-tree build of gcc, I get only two
messages building gcobol with these flags: 

    make -sC gcc CXXFLAGS='-g -O0 -Wall -Werror=format-diag'

Those messages are expected; they refer to recent incomplete changes in the
parser_display function.  

A build using gcc 9 produces many warnings because, for example, the diagnostic
framework at the time did not support %z.  I don't consider that a problem.  

We want the COBOL front end to compile "cleanly" -- no hits, no warnings, no
errors -- using the most current release of GCC with -std=c++14 and some set of
flags TBD.  

Please advise if this PR can be closed, or if not what flags to use as a
standard.

Reply via email to