Show a cover letter.

GET /api/1.1/covers/2226224/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2226224,
    "url": "http://patchwork.ozlabs.org/api/1.1/covers/2226224/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/cover/bmm.hhubfyz6j6.gcc.gcc-TEST.redi.22.1.0@forge-stage.sourceware.org/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/17/?format=api",
        "name": "GNU Compiler Collection",
        "link_name": "gcc",
        "list_id": "gcc-patches.gcc.gnu.org",
        "list_email": "gcc-patches@gcc.gnu.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null
    },
    "msgid": "<bmm.hhubfyz6j6.gcc.gcc-TEST.redi.22.1.0@forge-stage.sourceware.org>",
    "date": "2026-04-22T10:32:44",
    "name": "[v1,0/1] libstdc++: Make _GLIBCXX_NODISCARD work for C++11 and C++14",
    "submitter": {
        "id": 93210,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/93210/?format=api",
        "name": "Jonathan Wakely via Sourceware Forge",
        "email": "forge-bot+redi@forge-stage.sourceware.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/gcc/cover/bmm.hhubfyz6j6.gcc.gcc-TEST.redi.22.1.0@forge-stage.sourceware.org/mbox/",
    "series": [
        {
            "id": 500975,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/500975/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=500975",
            "date": "2026-04-22T10:32:44",
            "name": "libstdc++: Make _GLIBCXX_NODISCARD work for C++11 and C++14",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/500975/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/covers/2226224/comments/",
    "headers": {
        "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)",
            "sourceware.org; dmarc=none (p=none dis=none)\n header.from=forge-stage.sourceware.org",
            "sourceware.org;\n spf=pass smtp.mailfrom=forge-stage.sourceware.org",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=38.145.34.39"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g0wnx1xD5z1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 20:44:21 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id CB7FC43CC216\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 10:44:18 +0000 (GMT)",
            "from forge-stage.sourceware.org (vm08.sourceware.org [38.145.34.39])\n by sourceware.org (Postfix) with ESMTPS id 983AE442F0CA\n for <gcc-patches@gcc.gnu.org>; Wed, 22 Apr 2026 10:33:41 +0000 (GMT)",
            "from forge-stage.sourceware.org (localhost [IPv6:::1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256)\n (No client certificate requested)\n by forge-stage.sourceware.org (Postfix) with ESMTPS id 7164042B2E\n for <gcc-patches@gcc.gnu.org>; Wed, 22 Apr 2026 10:33:41 +0000 (UTC)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org CB7FC43CC216",
            "OpenDKIM Filter v2.11.0 sourceware.org 983AE442F0CA"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 983AE442F0CA",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 983AE442F0CA",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776854021; cv=none;\n b=tyxHfKGEpJi7wXB07tuudAaTyYnvmvzV1cCGsAT+EZ6WY8a/nNTJ4MnliSZojlWmhe2ls6C0vHJJc+Iz1cooBl25FX1HnYphaojtjKOmxVHpVYwWsXX1ilmv5yOQJqit9F2yga9RRbFjoM1MGNM+3IxJ4+KvEYb3gMx7RkYJ3QI=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776854021; c=relaxed/simple;\n bh=zSGBN6oL9BBjx22HehX3NVc7MW94gJzPemsL/IlEv1o=;\n h=From:Date:Subject:To:Message-ID;\n b=vAt/IFJFtDSI3PrP0P9qOzTHctFtRiJdAh43e9mpy5pHdXGobZA7+UvRqNv3u1rn+c66ftUBwQ1zvvmCVB6CMduB1naDPphLh510ldowWD9LhjDjyq4p4WG1NTJAhFTDluYQbMycJuQOV4GxajbxtbnvqybaDl3NGAGWIdQsS+s=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "From": "Jonathan Wakely via Sourceware Forge\n <forge-bot+redi@forge-stage.sourceware.org>",
        "Date": "Wed, 22 Apr 2026 10:32:44 +0000",
        "Subject": "[PATCH v1 0/1] libstdc++: Make _GLIBCXX_NODISCARD work for C++11 and\n C++14",
        "To": "gcc-patches mailing list <gcc-patches@gcc.gnu.org>",
        "Message-ID": "\n <bmm.hhubfyz6j6.gcc.gcc-TEST.redi.22.1.0@forge-stage.sourceware.org>",
        "X-Mailer": "batrachomyomachia",
        "X-Requested-Reviewer": "ppalka",
        "X-Pull-Request-Organization": "gcc",
        "X-Pull-Request-Repository": "gcc-TEST",
        "X-Pull-Request": "https://forge.sourceware.org/gcc/gcc-TEST/pulls/22",
        "X-BeenThere": "gcc-patches@gcc.gnu.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Gcc-patches mailing list <gcc-patches.gcc.gnu.org>",
        "List-Unsubscribe": "<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>",
        "List-Archive": "<https://gcc.gnu.org/pipermail/gcc-patches/>",
        "List-Post": "<mailto:gcc-patches@gcc.gnu.org>",
        "List-Help": "<mailto:gcc-patches-request@gcc.gnu.org?subject=help>",
        "List-Subscribe": "<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>",
        "Reply-To": "gcc-patches mailing list <gcc-patches@gcc.gnu.org>, redi@gcc.gnu.org",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "Hi gcc-patches mailing list,\nJonathan Wakely via Sourceware Forge <forge-bot+redi@forge-stage.sourceware.org> has requested that the following forgejo pull request\nbe published on the mailing list.\n\nCreated on: 2024-11-14 12:23:40+00:00\nLatest update: 2025-08-13 03:23:39+00:00\nChanges: 0 changed files, 0 additions, 0 deletions\nHead revision: redi/gcc ref refs/pull/22/head commit 4f1ad2c3a2899c98506ef93912dd99219aef0b54\nBase revision: gcc/gcc-TEST ref trunk commit 9ede072ffafcde27d0e9fe76bb7ffacb4f48a2d6 r15-5236-g9ede072ffafcde\nMerge base: 9ede072ffafcde27d0e9fe76bb7ffacb4f48a2d6\nFull diff url: https://forge.sourceware.org/gcc/gcc-TEST/pulls/22.diff\nDiscussion:  https://forge.sourceware.org/gcc/gcc-TEST/pulls/22\nRequested Reviewers: ppalka\n\nThe `_GLIBCXX_NODISCARD` macro only expands to `[[__nodiscard__]]` for C++17\nand later, but all supported compilers will allow us to use that for\nC++11 and C++14 too. Enable it for those older standards, to give\nimproved diagnostics for users of those older standards.\n\n```\nlibstdc++-v3/ChangeLog:\n\n\t* include/bits/c++config (_GLIBCXX_NODISCARD): Expand for C++11\n\tand C++14.\n\t* testsuite/22_locale/locale/cons/12438.cc: Adjust dg-warning to\n\texpect nodiscard warnings for C++11 and C++14 as well.\n\t* testsuite/22_locale/locale/operations/2.cc: Likewise.\n\t* testsuite/25_algorithms/equal/debug/1_neg.cc: Likewise.\n\t* testsuite/25_algorithms/equal/debug/2_neg.cc: Likewise.\n\t* testsuite/25_algorithms/equal/debug/3_neg.cc: Likewise.\n\t* testsuite/25_algorithms/find_first_of/concept_check_1.cc:\n\tLikewise.\n\t* testsuite/25_algorithms/is_permutation/2.cc: Likewise.\n\t* testsuite/25_algorithms/lexicographical_compare/71545.cc:\n\tLikewise.\n\t* testsuite/25_algorithms/lower_bound/33613.cc: Likewise.\n\t* testsuite/25_algorithms/lower_bound/debug/irreflexive.cc:\n\tLikewise.\n\t* testsuite/25_algorithms/lower_bound/debug/partitioned_neg.cc:\n\tLikewise.\n\t* testsuite/25_algorithms/lower_bound/debug/partitioned_pred_neg.cc: Likewise.\n\t* testsuite/25_algorithms/minmax/3.cc: Likewise.\n\t* testsuite/25_algorithms/search/78346.cc: Likewise.\n\t* testsuite/25_algorithms/search_n/58358.cc: Likewise.\n\t* testsuite/25_algorithms/unique/1.cc: Likewise.\n\t* testsuite/25_algorithms/unique/11480.cc: Likewise.\n\t* testsuite/25_algorithms/upper_bound/33613.cc: Likewise.\n\t* testsuite/25_algorithms/upper_bound/debug/partitioned_neg.cc:\n\tLikewise.\n\t* testsuite/25_algorithms/upper_bound/debug/partitioned_pred_neg.cc: Likewise.\n\t* testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc:\n\tLikewise.\n\t* testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc:\n\tLikewise.\n\t* testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc:\n\tLikewise.\n\t* testsuite/ext/concept_checks.cc: Likewise.\n\t* testsuite/ext/is_heap/47709.cc: Likewise.\n\t* testsuite/ext/is_sorted/cxx0x.cc: Likewise.\n```\n\n\nChanged files:\n- M: libstdc++-v3/include/bits/c++config\n- M: libstdc++-v3/testsuite/22_locale/locale/cons/12438.cc\n- M: libstdc++-v3/testsuite/22_locale/locale/operations/2.cc\n- M: libstdc++-v3/testsuite/25_algorithms/equal/debug/1_neg.cc\n- M: libstdc++-v3/testsuite/25_algorithms/equal/debug/2_neg.cc\n- M: libstdc++-v3/testsuite/25_algorithms/equal/debug/3_neg.cc\n- M: libstdc++-v3/testsuite/25_algorithms/find_first_of/concept_check_1.cc\n- M: libstdc++-v3/testsuite/25_algorithms/is_permutation/2.cc\n- M: libstdc++-v3/testsuite/25_algorithms/lexicographical_compare/71545.cc\n- M: libstdc++-v3/testsuite/25_algorithms/lower_bound/33613.cc\n- M: libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/irreflexive.cc\n- M: libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/partitioned_neg.cc\n- M: libstdc++-v3/testsuite/25_algorithms/lower_bound/debug/partitioned_pred_neg.cc\n- M: libstdc++-v3/testsuite/25_algorithms/minmax/3.cc\n- M: libstdc++-v3/testsuite/25_algorithms/search/78346.cc\n- M: libstdc++-v3/testsuite/25_algorithms/search_n/58358.cc\n- M: libstdc++-v3/testsuite/25_algorithms/unique/1.cc\n- M: libstdc++-v3/testsuite/25_algorithms/unique/11480.cc\n- M: libstdc++-v3/testsuite/25_algorithms/upper_bound/33613.cc\n- M: libstdc++-v3/testsuite/25_algorithms/upper_bound/debug/partitioned_neg.cc\n- M: libstdc++-v3/testsuite/25_algorithms/upper_bound/debug/partitioned_pred_neg.cc\n- M: libstdc++-v3/testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc\n- M: libstdc++-v3/testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc\n- M: libstdc++-v3/testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc\n- M: libstdc++-v3/testsuite/ext/concept_checks.cc\n- M: libstdc++-v3/testsuite/ext/is_heap/47709.cc\n- M: libstdc++-v3/testsuite/ext/is_sorted/cxx0x.cc\n\n\nJonathan Wakely (1):\n  libstdc++: Make _GLIBCXX_NODISCARD work for C++11 and C++14\n\n libstdc++-v3/include/bits/c++config                       | 2 +-\n libstdc++-v3/testsuite/22_locale/locale/cons/12438.cc     | 2 +-\n libstdc++-v3/testsuite/22_locale/locale/operations/2.cc   | 2 +-\n libstdc++-v3/testsuite/25_algorithms/equal/debug/1_neg.cc | 2 +-\n libstdc++-v3/testsuite/25_algorithms/equal/debug/2_neg.cc | 2 +-\n libstdc++-v3/testsuite/25_algorithms/equal/debug/3_neg.cc | 2 +-\n .../25_algorithms/find_first_of/concept_check_1.cc        | 2 +-\n libstdc++-v3/testsuite/25_algorithms/is_permutation/2.cc  | 2 +-\n .../25_algorithms/lexicographical_compare/71545.cc        | 2 +-\n libstdc++-v3/testsuite/25_algorithms/lower_bound/33613.cc | 2 +-\n .../25_algorithms/lower_bound/debug/irreflexive.cc        | 2 +-\n .../25_algorithms/lower_bound/debug/partitioned_neg.cc    | 2 +-\n .../lower_bound/debug/partitioned_pred_neg.cc             | 2 +-\n libstdc++-v3/testsuite/25_algorithms/minmax/3.cc          | 2 +-\n libstdc++-v3/testsuite/25_algorithms/search/78346.cc      | 2 +-\n libstdc++-v3/testsuite/25_algorithms/search_n/58358.cc    | 2 +-\n libstdc++-v3/testsuite/25_algorithms/unique/1.cc          | 2 +-\n libstdc++-v3/testsuite/25_algorithms/unique/11480.cc      | 2 +-\n libstdc++-v3/testsuite/25_algorithms/upper_bound/33613.cc | 2 +-\n .../25_algorithms/upper_bound/debug/partitioned_neg.cc    | 2 +-\n .../upper_bound/debug/partitioned_pred_neg.cc             | 2 +-\n .../27_io/ios_base/types/fmtflags/bitmask_operators.cc    | 8 ++++----\n .../27_io/ios_base/types/iostate/bitmask_operators.cc     | 8 ++++----\n .../27_io/ios_base/types/openmode/bitmask_operators.cc    | 8 ++++----\n libstdc++-v3/testsuite/ext/concept_checks.cc              | 8 ++++----\n libstdc++-v3/testsuite/ext/is_heap/47709.cc               | 3 +--\n libstdc++-v3/testsuite/ext/is_sorted/cxx0x.cc             | 3 +--\n 27 files changed, 39 insertions(+), 41 deletions(-)"
}