Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/dist/gcc/c-family The gcc diagnostic forma...



details:   https://anonhg.NetBSD.org/src/rev/31fe8db92334
branches:  trunk
changeset: 344783:31fe8db92334
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Apr 19 21:11:44 2016 +0000

description:
The gcc diagnostic formats handle %m

diffstat:

 external/gpl3/gcc/dist/gcc/c-family/c-format.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r b48fbfeeb0bb -r 31fe8db92334 external/gpl3/gcc/dist/gcc/c-family/c-format.c
--- a/external/gpl3/gcc/dist/gcc/c-family/c-format.c    Tue Apr 19 21:11:05 2016 +0000
+++ b/external/gpl3/gcc/dist/gcc/c-family/c-format.c    Tue Apr 19 21:11:44 2016 +0000
@@ -833,31 +833,31 @@
   },
   { "gcc_diag",   gcc_diag_length_specs,  gcc_diag_char_table, "q+#", NULL,
     gcc_diag_flag_specs, gcc_diag_flag_pairs,
-    FMT_FLAG_ARG_CONVERT,
+    FMT_FLAG_ARG_CONVERT|FMT_FLAG_M_OK,
     0, 0, 'p', 0, 'L', 0,
     NULL, &integer_type_node
   },
   { "gcc_tdiag",   gcc_tdiag_length_specs,  gcc_tdiag_char_table, "q+#", NULL,
     gcc_tdiag_flag_specs, gcc_tdiag_flag_pairs,
-    FMT_FLAG_ARG_CONVERT,
+    FMT_FLAG_ARG_CONVERT|FMT_FLAG_M_OK,
     0, 0, 'p', 0, 'L', 0,
     NULL, &integer_type_node
   },
   { "gcc_cdiag",   gcc_cdiag_length_specs,  gcc_cdiag_char_table, "q+#", NULL,
     gcc_cdiag_flag_specs, gcc_cdiag_flag_pairs,
-    FMT_FLAG_ARG_CONVERT,
+    FMT_FLAG_ARG_CONVERT|FMT_FLAG_M_OK,
     0, 0, 'p', 0, 'L', 0,
     NULL, &integer_type_node
   },
   { "gcc_cxxdiag",   gcc_cxxdiag_length_specs,  gcc_cxxdiag_char_table, "q+#", NULL,
     gcc_cxxdiag_flag_specs, gcc_cxxdiag_flag_pairs,
-    FMT_FLAG_ARG_CONVERT,
+    FMT_FLAG_ARG_CONVERT|FMT_FLAG_M_OK,
     0, 0, 'p', 0, 'L', 0,
     NULL, &integer_type_node
   },
   { "gcc_gfc", gcc_gfc_length_specs, gcc_gfc_char_table, "q+#", NULL,
     gcc_gfc_flag_specs, gcc_gfc_flag_pairs,
-    FMT_FLAG_ARG_CONVERT,
+    FMT_FLAG_ARG_CONVERT|FMT_FLAG_M_OK,
     0, 0, 0, 0, 0, 0,
     NULL, NULL
   },



Home | Main Index | Thread Index | Old Index