Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2232133/?format=api
{ "id": 2232133, "url": "http://patchwork.ozlabs.org/api/patches/2232133/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/2636a9b94c8dfd839bdda085a7f057fd500238a1.1777785520.git.collin.funk1@gmail.com/", "project": { "id": 17, "url": "http://patchwork.ozlabs.org/api/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, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<2636a9b94c8dfd839bdda085a7f057fd500238a1.1777785520.git.collin.funk1@gmail.com>", "list_archive_url": null, "date": "2026-05-03T05:18:40", "name": "ginclude: avoid redefining __STDC_VERSION_LIMITS_H__", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "66f116ed7bba0628a146ab9c62d77af88dac2ae9", "submitter": { "id": 88687, "url": "http://patchwork.ozlabs.org/api/people/88687/?format=api", "name": "Collin Funk", "email": "collin.funk1@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/2636a9b94c8dfd839bdda085a7f057fd500238a1.1777785520.git.collin.funk1@gmail.com/mbox/", "series": [ { "id": 502560, "url": "http://patchwork.ozlabs.org/api/series/502560/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=502560", "date": "2026-05-03T05:18:40", "name": "ginclude: avoid redefining __STDC_VERSION_LIMITS_H__", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/502560/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2232133/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2232133/checks/", "tags": {}, "related": [], "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\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=Fpg1XRZb;\n\tdkim-atps=neutral", "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;\n\tdkim=pass (2048-bit key,\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=Fpg1XRZb", "sourceware.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com", "sourceware.org; spf=pass smtp.mailfrom=gmail.com", "server2.sourceware.org;\n arc=none smtp.remote-ip=2607:f8b0:4864:20::1235" ], "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 4g7Y4066n6z1y04\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 03 May 2026 15:19:27 +1000 (AEST)", "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 6E6D94BB24DE\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 3 May 2026 05:19:25 +0000 (GMT)", "from mail-dl1-x1235.google.com (mail-dl1-x1235.google.com\n [IPv6:2607:f8b0:4864:20::1235])\n by sourceware.org (Postfix) with ESMTPS id C6BB94BB24CB\n for <gcc-patches@gcc.gnu.org>; Sun, 3 May 2026 05:18:59 +0000 (GMT)", "by mail-dl1-x1235.google.com with SMTP id\n a92af1059eb24-12c1a170a50so3861108c88.0\n for <gcc-patches@gcc.gnu.org>; Sat, 02 May 2026 22:18:59 -0700 (PDT)", "from localhost.localdomain ([2601:646:8081:3770::8819])\n by smtp.gmail.com with ESMTPSA id\n a92af1059eb24-12df8424ef1sm13498318c88.9.2026.05.02.22.18.57\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 02 May 2026 22:18:57 -0700 (PDT)" ], "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 sourceware.org 6E6D94BB24DE", "OpenDKIM Filter v2.11.0 sourceware.org C6BB94BB24CB" ], "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org C6BB94BB24CB", "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org C6BB94BB24CB", "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777785540; cv=none;\n b=o9aVwAD76kb7NOIXsc/JpQiZiQz3u1GeQazpRJY79B9wa9nKuAq2fWz8yjQWMv+0ta3m9Z+y/legfY9qFqlPg5lfTct7TC/Ti+1uo0Sl7M/sc962YDcjqmQOVnIf9dSbaU1rHhiYtCBKVazWjORRNarWFECP93gOaz/K6La5KY4=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1777785540; c=relaxed/simple;\n bh=i7bH2lNY7IOfKhNKlMtVAu+MntpupNcOZkOGDBtEM1g=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=IKDRddsPXx7UbDFH3s6BWCac3ne17UUYzh5sW//8+WBoN1S1zZ+qXb6x5d0e/rCfLRKkGImY4tCu65n53Ex53W08CDOKiIQFHPO1d5LuOVta2Fbr1bsDZz/t+4yAh7kylYEQdC4BI04Pr9sFTISAbvPC8O6m54yM80eyHUnepCY=", "ARC-Authentication-Results": "i=1; server2.sourceware.org", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1777785539; x=1778390339; darn=gcc.gnu.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=cY3HyBmxqS/7FRJO22AzlqHkMDUeviQgSYHHY3TB0fY=;\n b=Fpg1XRZbO1/2mEw08YYiIsTM2HD2LDXntQGf2JVZUfJn394EZK8Sxp/99+vEnGbMGN\n 85Wv/HLZNOSg/PiffGMmkq8YUYMjJg+Xfag52Pmcdl6fR97eKzgqBwaib3a5zcLnKJoA\n Q7GpgPUSWgIaQ1lsTHajttJSKt61yd7V4m/ZBmhBi4bwC1pz8N7pT7Yvwxi7eRcRO5GC\n fkcjzJuvlINIW4AjqdWPskjbzj3IfmlBgpFgttvdODK9b1ZvkHFQhqPkv4/iRnbA6hZV\n cCZ2GS5NZ75VbmUt4pkXeEQHh0d8dS6P449nB4oovd9RL21ajZ40r5UN/PvUPmqH/XbW\n o4Xg==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777785539; x=1778390339;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=cY3HyBmxqS/7FRJO22AzlqHkMDUeviQgSYHHY3TB0fY=;\n b=BQl5XBDGJl0G3C9gnI3CxZQyuVF7jCNLS4mQp7zxw60YE3pyUnbtoRESNygvqf+GDs\n cierGExG15uXW8W09yaCw4cbJzcuA69l2e6uHHa6FLZysdluUQ+11p0BVlRxqB6rjBDn\n QwIkTJNAD/cnjlYvRiDoMPtaBvmhJsXjJMufnj+b+xAy2IZUY2mEyrqbvm1a8kh2ZWNN\n aB75LMo1snbvOpd7HyM/7skV0MHu+OJa5xHyVRcyWWHXgZqssQelOXjspySdJuGK/DyK\n 4YycGG1SYE+40fvPgcWPTiBptBw6LVa7OqL3XbyqchjIazAZV6fQLo3lFNdfD1mkMPTS\n QEfw==", "X-Gm-Message-State": "AOJu0YxnLsdpTVIJHu1AzRt8Gh/F0z4dtU8q71SC+BCSnemHD2JepB4+\n 1ZUUVmTSBI1mFZojOSUrB1o0mVRIuTDA3gux19tZltbQhUqPLLvXAep14eKJOQ==", "X-Gm-Gg": "AeBDietV5mNRtCAM9rlwHKbKFSDQPG14i086KD+w0mIxG/lqWwgWIzq/+6625ojFzO7\n AEXb2Ydc/BVPvGQ0bQZcLXeMyBQ+1q2m5JTqtwbbBgZgSGRcXHgWjytauEyGopvCrdt3xNWffjP\n wKcR0tyP8BDlo+sML4SU5m8k5Jamf25LX3x3DkRck0yGjjdd2vMEJ4vxe5/jaU8f4vM1HEj8HTb\n WEpVX3q1GR7XcsuPyY2IetthXFQ1L019slltqEAdZD7PZrCY6xifvrbduAKtLtuYlrYL0NeT8GB\n ilTgnTbS/T5OLCX9O0+vWyNGde96lDy6odfIrYYFqYOv4/cdgmncZW5FK+0FVC8eXhNoqSo0Esy\n 7mUOX2THDCP1CbFksl9sbsqZWFO4QEipEYYPkleOOWnvuoh/w4c3Y1unOPrU4IiQgh8Nbt8QMx3\n K00es2mFlVs3AXoSTQwN8y2EWO2aGJSIF/Q84=", "X-Received": "by 2002:a05:7022:699d:b0:12d:de3f:f3eb with SMTP id\n a92af1059eb24-12dfd88acfcmr2085800c88.43.1777785538463;\n Sat, 02 May 2026 22:18:58 -0700 (PDT)", "From": "Collin Funk <collin.funk1@gmail.com>", "To": "gcc-patches@gcc.gnu.org", "Cc": "Collin Funk <collin.funk1@gmail.com>", "Subject": "[PATCH] ginclude: avoid redefining __STDC_VERSION_LIMITS_H__", "Date": "Sat, 2 May 2026 22:18:40 -0700", "Message-ID": "\n <2636a9b94c8dfd839bdda085a7f057fd500238a1.1777785520.git.collin.funk1@gmail.com>", "X-Mailer": "git-send-email 2.54.0", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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>", "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org" }, "content": "We define this macro after including the systems limits.h header which\nmay define this macro. Using glibc-2.43, for example, before this patch\nevery file that included limits.h would emit a warning if\n-Wsystem-headers was in use.\n\n PR c/125161\n\ngcc/\n\n\t* glimits.h (__STDC_VERSION_LIMITS_H__): Only define the macro\n if it was not already defined.\n---\n gcc/glimits.h | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)", "diff": "diff --git a/gcc/glimits.h b/gcc/glimits.h\nindex 0d08c819ed7..2098016ef8e 100644\n--- a/gcc/glimits.h\n+++ b/gcc/glimits.h\n@@ -162,7 +162,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see\n # define BITINT_MAXWIDTH __BITINT_MAXWIDTH__\n # endif\n \n-# define __STDC_VERSION_LIMITS_H__\t202311L\n+# ifndef __STDC_VERSION_LIMITS_H__\n+# define __STDC_VERSION_LIMITS_H__\t202311L\n+# endif\n #endif\n \n #endif /* _LIMITS_H___ */\n", "prefixes": [] }