https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120621
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This broke bootstrap with cobol enabled.
E.g.
../../gcc/cobol/lexio.cc:1416:11: error: passing objects of
non-trivially-copyable type ‘std::string’ {aka ‘class
std::__cxx11::basic_string<char>’} through ‘...’ is conditionally supported
[-Werror=conditionally-supported]
../../gcc/cobol/lexio.cc:1549:36: error: ISO C++11 does not support the ‘%m’
gnu_printf format [-Werror=format=]
../../gcc/cobol/gengen.cc:3444:14: error: function ‘void
gg_insert_into_assembler(const char*, ...)’ might be a candidate for
‘gnu_printf’ format attribute [-Werror=suggest-attribute=format]
../../gcc/cobol/util.cc:1808:59: error: ISO C++11 does not support the ‘%m’
gnu_printf format [-Werror=format=]
/home/jakub/src/gcc/obj50/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/tuple:2886:9:
error: implicitly-declared ‘temporaries_t::literal_an::literal_an(const
temporaries_t::literal_an&)’ is deprecated [-Werror=deprecated-copy]
../../gcc/cobol/util.cc:1964:41: error: function ‘void ydferror(const char*,
...)’ might be a candidate for ‘gcc_tdiag’ format attribute
[-Werror=suggest-attribute=format]
../../gcc/cobol/util.cc:2022:41: error: function ‘void error_msg(const
YYLTYPE&, const char*, ...)’ might be a candidate for ‘gcc_tdiag’ format
attribute [-Werror=suggest-attribute=format]
../../gcc/cobol/util.cc:2022:41: error: function ‘void error_msg(const
YDFLTYPE&, const char*, ...)’ might be a candidate for ‘gcc_tdiag’ format
attribute [-Werror=suggest-attribute=format]
../../gcc/cobol/util.cc:2055:41: error: function ‘void yyerror(const char*,
...)’ might be a candidate for ‘gcc_tdiag’ format attribute
[-Werror=suggest-attribute=format]
../../gcc/cobol/util.cc:2067:36: error: function ‘bool yywarn(const char*,
...)’ might be a candidate for ‘gcc_tdiag’ format attribute
[-Werror=suggest-attribute=format]
../../gcc/cobol/util.cc:2086:19: error: function ‘void yyerrorvl(int, const
char*, const char*, ...)’ might be a candidate for ‘gnu_printf’ format
attribute [-Werror=suggest-attribute=format]
../../gcc/cobol/util.cc:2261:29: error: function ‘void cbl_message(int, const
char*, ...)’ might be a candidate for ‘gnu_printf’ format attribute
[-Werror=suggest-attribute=format]
../../gcc/cobol/util.cc:2277:25: error: function ‘void cbl_internal_error(const
char*, ...)’ might be a candidate for ‘gcc_tdiag’ format attribute
[-Werror=suggest-attribute=format]
../../gcc/cobol/util.cc:2287:25: error: function ‘void cbl_unimplementedw(const
char*, ...)’ might be a candidate for ‘gcc_tdiag’ format attribute
[-Werror=suggest-attribute=format]
../../gcc/cobol/util.cc:2297:25: error: function ‘void cbl_unimplemented(const
char*, ...)’ might be a candidate for ‘gcc_tdiag’ format attribute
[-Werror=suggest-attribute=format]
../../gcc/cobol/util.cc:2308:25: error: function ‘void
cbl_unimplemented_at(const YYLTYPE&, const char*, ...)’ might be a candidate
for ‘gcc_tdiag’ format attribute [-Werror=suggest-attribute=format]
../../gcc/cobol/util.cc:2325:25: error: function ‘void cbl_err(const char*,
...)’ might be a candidate for ‘gcc_tdiag’ format attribute
[-Werror=suggest-attribute=format]
../../gcc/cobol/util.cc:2336:25: error: function ‘void cbl_errx(const char*,
...)’ might be a candidate for ‘gcc_tdiag’ format attribute
[-Werror=suggest-attribute=format]
I've tried to address some of this, but there are hundreds of other errors:
--- gcc/cobol/util.cc.jj 2025-06-16 22:08:26.228072149 +0200
+++ gcc/cobol/util.cc 2025-06-16 23:26:29.951554495 +0200
@@ -1805,7 +1805,7 @@ class unique_stack : public std::stack<i
(fmt_size_t)(c.size() - --n), v.lineno, no_wd(wd, v.name) );
}
} else {
- dbgmsg("unable to get current working directory: %m");
+ dbgmsg("unable to get current working directory: %s",
xstrerror(errno));
}
free(wd);
}
@@ -1953,6 +1953,8 @@ verify_format( const char gmsgid[] ) {
static const diagnostic_option_id option_zero;
size_t parse_error_inc();
+void ydferror( const char gmsgid[], ... ) ATTRIBUTE_GCC_DIAG(1, 0);
+
void
ydferror( const char gmsgid[], ... ) {
verify_format(gmsgid);
--- gcc/cobol/cbldiag.h.jj 2025-06-16 22:08:26.218072280 +0200
+++ gcc/cobol/cbldiag.h 2025-06-16 23:35:49.593297050 +0200
@@ -33,6 +33,10 @@
#else
#define _CBLDIAG_H
+#include "coretypes.h"
+#include "input.h"
+#include "diagnostic-core.h"
+
#if 0
#define gcobol_getenv(x) getenv(x)
#else
@@ -45,8 +49,8 @@ const char * cobol_filename();
* These are user-facing messages. They go through the gcc
* diagnostic framework and use text that can be localized.
*/
-void yyerror( const char fmt[], ... );
-bool yywarn( const char fmt[], ... );
+void yyerror( const char fmt[], ... ) ATTRIBUTE_GCC_DIAG(1, 0);
+bool yywarn( const char fmt[], ... ) ATTRIBUTE_GCC_DIAG(1, 0);
/* Location type. Borrowed from parse.h as generated by Bison. */
#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
@@ -79,7 +83,8 @@ struct YDFLTYPE
#endif
// an error at a location, called from the parser for semantic errors
-void error_msg( const YYLTYPE& loc, const char gmsgid[], ... );
+void error_msg( const YYLTYPE& loc, const char gmsgid[], ... )
+ ATTRIBUTE_GCC_DIAG(2, 0);
void dialect_error( const YYLTYPE& loc, const char term[], const char
dialect[] );
@@ -88,9 +93,10 @@ void dialect_error( const YYLTYPE& loc,
// (not in diagnostic framework yet)
void yyerrorvl( int line, const char *filename, const char fmt[], ... );
-void cbl_unimplementedw(const char *gmsgid, ...); // warning
-void cbl_unimplemented(const char *gmsgid, ...); // error
-void cbl_unimplemented_at( const YYLTYPE& loc, const char *gmsgid, ... );
+void cbl_unimplementedw(const char *gmsgid, ...) ATTRIBUTE_GCC_DIAG(1, 0); //
warning
+void cbl_unimplemented(const char *gmsgid, ...) ATTRIBUTE_GCC_DIAG(1, 0); //
error
+void cbl_unimplemented_at( const YYLTYPE& loc, const char *gmsgid, ... )
+ ATTRIBUTE_GCC_DIAG(2, 0);
/*
* dbgmsg produce messages not intended for the user. They cannot be
localized
--- gcc/cobol/lexio.cc.jj 2025-06-16 22:08:26.223072215 +0200
+++ gcc/cobol/lexio.cc 2025-06-16 23:12:00.728560989 +0200
@@ -1413,7 +1413,7 @@ preprocess_filter_add( const char input[
auto filename = find_filter(filter.c_str());
if( !filename ) {
- yywarn("preprocessor '%s/%s' not found", getcwd(NULL, 0), filter);
+ yywarn("preprocessor '%s/%s' not found", getcwd(NULL, 0), filter.c_str());
return false;
}
preprocessor_filters.push_back( std::make_pair(xstrdup(filename), options)
);
@@ -1546,7 +1546,7 @@ int
cdftext::open_input( const char filename[] ) {
int fd = open(filename, O_RDONLY);
if( fd == -1 ) {
- dbgmsg( "could not open '%s': %m", filename );
+ dbgmsg( "could not open '%s': %s", filename, xstrerror(errno) );
}
verbose_file_reader = NULL != getenv("GCOBOL_TEMPDIR");
--- gcc/cobol/gengen.h.jj 2025-03-11 18:35:10.518438111 +0100
+++ gcc/cobol/gengen.h 2025-06-16 23:23:51.054617850 +0200
@@ -539,6 +539,6 @@ extern tree gg_trans_unit_var_decl(const
tree gg_open(tree char_star_A, tree int_B);
tree gg_close(tree int_A);
tree gg_get_indirect_reference(tree pointer, tree offset);
-void gg_insert_into_assembler(const char *format, ...);
+void gg_insert_into_assembler(const char *format, ...) ATTRIBUTE_PRINTF_1;
void gg_modify_function_type(tree function_decl, tree return_type);
#endif
../../gcc/cobol/lexio.cc:748:34: error: unknown conversion type character ‘*’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:134:11: error: unquoted identifier or keyword
‘symbol_type_t’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:134:27: error: unquoted identifier or keyword
‘symbol_type_t’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:134:27: error: unquoted identifier or keyword
‘symbol_type_t’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:134:27: error: unquoted identifier or keyword
‘symbol_type_t’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:134:27: error: unquoted identifier or keyword
‘symbol_type_t’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:134:27: error: unquoted identifier or keyword
‘symbol_type_t’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:12: error: unquoted sequence of 2 consecutive
punctuation characters ‘':’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:12: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:12: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:12: error: unterminated quote character ‘'’ in
format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:16: error: unquoted sequence of 2 consecutive
punctuation characters ‘':’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:44: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:57: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:34: error: unterminated quote character ‘'’ in
format [-Werror=format-diag]
../../gcc/cobol/symbols.h:134:27: error: unquoted identifier or keyword
‘symbol_type_t’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:16: error: unquoted sequence of 2 consecutive
punctuation characters ‘':’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:44: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:57: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:34: error: unterminated quote character ‘'’ in
format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:16: error: unquoted sequence of 2 consecutive
punctuation characters ‘':’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:44: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:57: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:34: error: unterminated quote character ‘'’ in
format [-Werror=format-diag]
../../gcc/cobol/symbols.h:134:27: error: unquoted identifier or keyword
‘symbol_type_t’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:16: error: unquoted sequence of 2 consecutive
punctuation characters ‘':’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:44: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:57: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:34: error: unterminated quote character ‘'’ in
format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:16: error: unquoted sequence of 2 consecutive
punctuation characters ‘':’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:44: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:57: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:34: error: unterminated quote character ‘'’ in
format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:16: error: unquoted sequence of 2 consecutive
punctuation characters ‘':’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:44: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:57: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:34: error: unterminated quote character ‘'’ in
format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:16: error: unquoted sequence of 2 consecutive
punctuation characters ‘':’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:44: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:57: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:34: error: unterminated quote character ‘'’ in
format [-Werror=format-diag]
../../gcc/cobol/cdf.y:266:41: error: spurious trailing punctuation sequence
‘'.'’ in format [-Werror=format-diag]
../../gcc/cobol/cdf.y:368:44: error: unquoted operator ‘>>’ in format
[-Werror=format-diag]
../../gcc/cobol/cdf.y:374:44: error: unquoted operator ‘>>’ in format
[-Werror=format-diag]
../../gcc/cobol/cdf.y:432:43: error: unquoted sequence of 2 consecutive space
characters in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:134:11: error: unquoted identifier or keyword
‘symbol_type_t’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:12: error: unquoted sequence of 2 consecutive
punctuation characters ‘':’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:12: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:12: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:12: error: unterminated quote character ‘'’ in
format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:523:13: error: spurious leading punctuation sequence
‘######’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:523:21: error: unknown conversion type character ‘1’
in format [-Werror=format=]
../../gcc/cobol/gengen.cc:524:13: error: spurious leading punctuation sequence
‘######’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:524:67: error: bare apostrophe ‘'’ in format
[-Werror=format-diag]
../../gcc/cobol/symbols.h:134:27: error: unquoted identifier or keyword
‘symbol_type_t’ in format [-Werror=format-diag]
../../gcc/cobol/util.cc:905:52: error: unquoted sequence of 2 consecutive space
characters in format [-Werror=format-diag]
../../gcc/cobol/util.cc:905:77: error: space followed by punctuation character
‘.’ [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2164:15: error: spurious leading punctuation sequence
‘######’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2164:23: error: unknown conversion type character ‘1’
in format [-Werror=format=]
../../gcc/cobol/gengen.cc:2165:15: error: spurious leading punctuation sequence
‘######’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2165:42: error: spurious trailing punctuation
sequence ‘!’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2173:25: error: spurious trailing punctuation
sequence ‘!’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2174:35: error: unquoted identifier or keyword
‘NULL_TREE’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2175:20: error: unquoted identifier or keyword
‘gg_printf’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2175:29: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2175:37: error: spurious trailing punctuation
sequence ‘!’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2176:15: error: spurious leading punctuation sequence
‘######’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2176:23: error: unknown conversion type character ‘1’
in format [-Werror=format=]
../../gcc/cobol/gengen.cc:2222:15: error: spurious leading punctuation sequence
‘######’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2222:23: error: unknown conversion type character ‘1’
in format [-Werror=format=]
../../gcc/cobol/gengen.cc:2223:15: error: spurious leading punctuation sequence
‘######’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2223:42: error: spurious trailing punctuation
sequence ‘!’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2604:25: error: spurious trailing punctuation
sequence ‘!’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2605:35: error: unquoted identifier or keyword
‘NULL_TREE’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2606:20: error: unquoted identifier or keyword
‘gg_define_function’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2606:38: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2606:46: error: spurious trailing punctuation
sequence ‘!’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2607:15: error: spurious leading punctuation sequence
‘######’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2607:23: error: unknown conversion type character ‘1’
in format [-Werror=format=]
../../gcc/cobol/gengen.cc:2618:15: error: spurious leading punctuation sequence
‘######’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2618:23: error: unknown conversion type character ‘1’
in format [-Werror=format=]
../../gcc/cobol/gengen.cc:2619:15: error: spurious leading punctuation sequence
‘######’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2619:36: error: unquoted sequence of 2 consecutive
space characters in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2619:45: error: unquoted sequence of 2 consecutive
space characters in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2660:25: error: spurious trailing punctuation
sequence ‘!’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2661:35: error: unquoted identifier or keyword
‘NULL_TREE’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2662:20: error: unquoted identifier or keyword
‘gg_define_function’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2662:38: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2662:46: error: spurious trailing punctuation
sequence ‘!’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2663:15: error: spurious leading punctuation sequence
‘######’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2663:23: error: unknown conversion type character ‘1’
in format [-Werror=format=]
../../gcc/cobol/gengen.cc:2674:15: error: spurious leading punctuation sequence
‘######’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2674:23: error: unknown conversion type character ‘1’
in format [-Werror=format=]
../../gcc/cobol/gengen.cc:2675:15: error: spurious leading punctuation sequence
‘######’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2675:36: error: unquoted sequence of 2 consecutive
space characters in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2675:45: error: unquoted sequence of 2 consecutive
space characters in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2788:25: error: spurious trailing punctuation
sequence ‘!’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2789:35: error: unquoted identifier or keyword
‘NULL_TREE’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2790:14: error: unquoted identifier or keyword
‘gg_define_function’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2790:32: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2790:40: error: spurious trailing punctuation
sequence ‘!’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2791:15: error: spurious leading punctuation sequence
‘######’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2791:23: error: unknown conversion type character ‘1’
in format [-Werror=format=]
../../gcc/cobol/gengen.cc:2802:15: error: spurious leading punctuation sequence
‘######’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2802:23: error: unknown conversion type character ‘1’
in format [-Werror=format=]
../../gcc/cobol/gengen.cc:2803:15: error: spurious leading punctuation sequence
‘######’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2803:36: error: unquoted sequence of 2 consecutive
space characters in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:2803:45: error: unquoted sequence of 2 consecutive
space characters in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:3073:15: error: spurious leading punctuation sequence
‘######’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:3073:23: error: unknown conversion type character ‘1’
in format [-Werror=format=]
../../gcc/cobol/gengen.cc:3074:15: error: spurious leading punctuation sequence
‘######’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:3074:42: error: spurious trailing punctuation
sequence ‘!’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:3130:15: error: spurious leading punctuation sequence
‘######’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:3130:23: error: unknown conversion type character ‘1’
in format [-Werror=format=]
../../gcc/cobol/gengen.cc:3131:15: error: spurious leading punctuation sequence
‘######’ in format [-Werror=format-diag]
../../gcc/cobol/gengen.cc:3131:42: error: spurious trailing punctuation
sequence ‘!’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:134:27: error: unquoted identifier or keyword
‘symbol_type_t’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:16: error: unquoted sequence of 2 consecutive
punctuation characters ‘':’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:44: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:57: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:34: error: unterminated quote character ‘'’ in
format [-Werror=format-diag]
../../gcc/cobol/parse_ante.h:338:15: error: unquoted identifier or keyword ‘_’
in format [-Werror=format-diag]
../../gcc/cobol/util.cc:2024:41: error: function ‘void error_msg(const
YDFLTYPE&, const char*, ...)’ might be a candidate for ‘gcc_tdiag’ format
attribute [-Werror=suggest-attribute=format]
../../gcc/cobol/util.cc:2088:19: error: function ‘void yyerrorvl(int, const
char*, const char*, ...)’ might be a candidate for ‘gnu_printf’ format
attribute [-Werror=suggest-attribute=format]
../../gcc/cobol/util.cc:2124:32: error: unquoted preprocessing directive
‘#line’ in format [-Werror=format-diag]
../../gcc/cobol/util.cc:2134:49: error: unquoted preprocessing directive
‘#line’ in format [-Werror=format-diag]
../../gcc/cobol/util.cc:2226:45: error: unquoted identifier or keyword
‘INDICATOR_COLUMN’ in format [-Werror=format-diag]
../../gcc/cobol/util.cc:2244:15: error: unquoted identifier or keyword
‘nl_langinfo’ in format [-Werror=format-diag]
../../gcc/cobol/util.cc:2263:29: error: function ‘void cbl_message(int, const
char*, ...)’ might be a candidate for ‘gnu_printf’ format attribute
[-Werror=suggest-attribute=format]
../../gcc/cobol/util.cc:2279:25: error: function ‘void cbl_internal_error(const
char*, ...)’ might be a candidate for ‘gcc_tdiag’ format attribute
[-Werror=suggest-attribute=format]
../../gcc/cobol/util.cc:2327:25: error: function ‘void cbl_err(const char*,
...)’ might be a candidate for ‘gcc_tdiag’ format attribute
[-Werror=suggest-attribute=format]
../../gcc/cobol/util.cc:2338:25: error: function ‘void cbl_errx(const char*,
...)’ might be a candidate for ‘gcc_tdiag’ format attribute
[-Werror=suggest-attribute=format]
../../gcc/cobol/util.cc:2356:50: error: unquoted option name ‘-dialect’ in
format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:16: error: unquoted sequence of 2 consecutive
punctuation characters ‘':’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:44: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:57: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:34: error: unterminated quote character ‘'’ in
format [-Werror=format-diag]
../../gcc/cobol/symbols.h:134:27: error: unquoted identifier or keyword
‘symbol_type_t’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:16: error: unquoted sequence of 2 consecutive
punctuation characters ‘':’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:44: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:57: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:34: error: unterminated quote character ‘'’ in
format [-Werror=format-diag]
../../gcc/cobol/symbols.cc:2839:22: error: unquoted sequence of 2 consecutive
space characters in format [-Werror=format-diag]
../../gcc/cobol/symbols.cc:3091:52: error: unquoted sequence of 2 consecutive
punctuation characters ‘')’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.cc:3091:49: error: unterminated quote character ‘'’ in
format [-Werror=format-diag]
../../gcc/cobol/parse_ante.h:2118:23: error: unquoted option name ‘-dialect’ in
format [-Werror=format-diag]
../../gcc/cobol/symbols.cc:3496:20: error: unquoted identifier or keyword
‘iconv_open’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted identifier or keyword
‘parsed_var’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘parsed_var’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted identifier or keyword
‘left_side_ref’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘left_side_ref’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted identifier or keyword
‘right_side_ref’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘right_side_ref’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:448:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:448:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:448:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:448:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:448:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:448:20: error: unquoted identifier or keyword
‘proc_1’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:448:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:448:20: error: unquoted identifier or keyword
‘proc_2’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘].’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘].’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘].’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘].’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:448:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:448:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:431:20: error: unquoted sequence of 3 consecutive
punctuation characters ‘():’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted sequence of 2 consecutive
punctuation characters ‘()’ in format [-Werror=format-diag]
../../gcc/cobol/show_parse.h:436:20: error: unquoted identifier or keyword
‘var_decl_node’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:1485:44: error: unquoted option name ‘-main’ in format
[-Werror=format-diag]
../../gcc/cobol/parse.y:1521:44: error: unquoted option name ‘-main’ in format
[-Werror=format-diag]
../../gcc/cobol/parse.y:1592:44: error: unquoted identifier or keyword
‘HIGH_ORDER_LEFT’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:2915:45: error: unquoted operator ‘<=’ in format
[-Werror=format-diag]
../../gcc/cobol/parse.y:3640:44: error: contraction ‘they're’ in format; use
‘they are’ instead [-Werror=format-diag]
../../gcc/cobol/parse.y:4059:45: error: bare apostrophe ‘'’ in format
[-Werror=format-diag]
../../gcc/cobol/parse.y:4059:45: error: unterminated quote character ‘'’ in
format [-Werror=format-diag]
../../gcc/cobol/parse.y:4173:43: error: unquoted sequence of 2 consecutive
punctuation characters ‘'(’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:4173:43: error: unquoted sequence of 2 consecutive
punctuation characters ‘)'’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:4192:43: error: spurious leading punctuation sequence
‘'(’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:4192:43: error: unquoted sequence of 2 consecutive
punctuation characters ‘)'’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:4206:44: error: spurious leading punctuation sequence
‘'(’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:4206:44: error: unquoted sequence of 2 consecutive
punctuation characters ‘)'’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:4213:44: error: unquoted sequence of 2 consecutive
punctuation characters ‘'(’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:4213:44: error: unquoted sequence of 2 consecutive
punctuation characters ‘)'’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:4226:46: error: unquoted sequence of 2 consecutive
punctuation characters ‘'(’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:4226:46: error: spurious trailing punctuation sequence
‘)'’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:4232:44: error: unquoted sequence of 2 consecutive
punctuation characters ‘'(’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:4232:44: error: spurious trailing punctuation sequence
‘)'’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:5695:44: error: unterminated quote character ‘'’ in
format [-Werror=format-diag]
../../gcc/cobol/parse.y:5728:42: error: spurious trailing punctuation sequence
‘'.'’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:6779:44: error: bare apostrophe ‘'’ in format
[-Werror=format-diag]
../../gcc/cobol/parse.y:7935:37: error: spurious trailing punctuation sequence
‘>’ in format [-Werror=format-diag]
/home/jakub/src/gcc/obj50/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/tuple:2886:9:
error: implicitly-declared ‘temporaries_t::literal_an::literal_an(const
temporaries_t::literal_an&)’ is deprecated [-Werror=deprecated-copy]
../../gcc/cobol/parse.y:9140:50: error: unquoted sequence of 2 consecutive
punctuation characters ‘',’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:9140:50: error: unquoted sequence of 2 consecutive
punctuation characters ‘',’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:10215:36: error: unquoted sequence of 2 consecutive
punctuation characters ‘('’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:10215:36: error: spurious trailing punctuation sequence
‘')’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:10293:37: error: unquoted identifier or keyword
‘FIND_STRING’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:10760:37: error: unquoted identifier or keyword
‘NUMVAL_C’ in format [-Werror=format-diag]
../../gcc/cobol/parse.y:11837:24: error: misspelled term ‘arg’ in format; use
‘argument’ instead [-Werror=format-diag]
../../gcc/cobol/parse.y:12035:13: error: unquoted whitespace character ‘\x09’
in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:134:11: error: unquoted identifier or keyword
‘symbol_type_t’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:12: error: unquoted sequence of 2 consecutive
punctuation characters ‘':’ in format [-Werror=format-diag]
../../gcc/cobol/symbols.h:1498:12: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:12: error: unknown conversion type character ‘0’
in format [-Werror=format=]
../../gcc/cobol/symbols.h:1498:12: error: unterminated quote character ‘'’ in
format [-Werror=format-diag]
../../gcc/cobol/scan_ante.h:298:15: error: unknown conversion type character
‘4’ in format [-Werror=format=]
../../gcc/cobol/scan_ante.h:298:15: error: unquoted whitespace character ‘\x09’
in format [-Werror=format-diag]
../../gcc/cobol/scan_ante.h:308:23: error: unquoted operator ‘>>’ in format
[-Werror=format-diag]
../../gcc/cobol/scan_ante.h:308:23: error: unquoted operator ‘>>’ in format
[-Werror=format-diag]
../../gcc/cobol/scan_ante.h:308:23: error: unquoted operator ‘>>’ in format
[-Werror=format-diag]
../../gcc/cobol/scan_ante.h:320:12: error: unknown conversion type character
‘1’ in format [-Werror=format=]
../../gcc/cobol/scan_ante.h:320:12: error: unknown conversion type character
‘5’ in format [-Werror=format=]
../../gcc/cobol/scan_ante.h:328:23: error: unquoted operator ‘>>’ in format
[-Werror=format-diag]
../../gcc/cobol/scan_ante.h:328:23: error: unquoted operator ‘>>’ in format
[-Werror=format-diag]
../../gcc/cobol/scan_ante.h:333:12: error: unknown conversion type character
‘1’ in format [-Werror=format=]
../../gcc/cobol/scan_ante.h:333:12: error: unknown conversion type character
‘5’ in format [-Werror=format=]
../../gcc/cobol/scan_ante.h:339:23: error: unquoted operator ‘>>’ in format
[-Werror=format-diag]
../../gcc/cobol/scan_ante.h:339:23: error: unquoted operator ‘>>’ in format
[-Werror=format-diag]
../../gcc/cobol/scan_ante.h:344:12: error: unknown conversion type character
‘1’ in format [-Werror=format=]
../../gcc/cobol/scan_ante.h:344:12: error: unknown conversion type character
‘5’ in format [-Werror=format=]
../../gcc/cobol/scan_ante.h:795:12: error: quoted ‘%s’ directive in format
[-Werror=format-diag]
../../gcc/cobol/scan.l:986:55: error: unquoted option name ‘-dialect’ in format
[-Werror=format-diag]
../../gcc/cobol/scan.l:997:47: error: unquoted identifier or keyword
‘FLOAT_DECIMAL’ in format [-Werror=format-diag]
../../gcc/cobol/scan.l:1023:47: error: unquoted option name ‘-dialect’ in
format [-Werror=format-diag]
../../gcc/cobol/scan_post.h:300:34: error: unquoted identifier or keyword
‘YDF_NUMBER’ in format [-Werror=format-diag]
So, I think the Make-lang.in change needs to be reverted, then all the errors
dealt with and finally reenabled when there are no errors.
Many of these show real problems, so they should be addressed.