From dc12ea256d0c570ea3f0172844409f96fc1fa55f Mon Sep 17 00:00:00 2001 From: christos Date: Tue, 19 Apr 2016 21:11:44 +0000 Subject: [PATCH] The gcc diagnostic formats handle %m --- external/gpl3/gcc/dist/gcc/c-family/c-format.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/external/gpl3/gcc/dist/gcc/c-family/c-format.c b/external/gpl3/gcc/dist/gcc/c-family/c-format.c index ddd489377683..78725c0bf00c 100644 --- a/external/gpl3/gcc/dist/gcc/c-family/c-format.c +++ b/external/gpl3/gcc/dist/gcc/c-family/c-format.c @@ -833,31 +833,31 @@ static const format_kind_info format_types_orig[] = }, { "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 },