Message ID | 20240202135505.2285472-1-jwakely@redhat.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:9bc1:b0:106:209c:c626 with SMTP id op1csp440352dyc; Fri, 2 Feb 2024 05:55:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IF17qAOafo2AtAY6vd1Iw8PESPE+Yoem1zH7+NLaTTCGirmdhfyt8h+3oehFpJCV2Wx6YtX X-Received: by 2002:ad4:5ca3:0:b0:68c:5284:38c4 with SMTP id q3-20020ad45ca3000000b0068c528438c4mr9181104qvh.12.1706882159395; Fri, 02 Feb 2024 05:55:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706882159; cv=pass; d=google.com; s=arc-20160816; b=lDtTE+wfkSiiDTmZtP63aOPCkmoVRe91SA5Tsxn3Vbtkj//PIyYSGzoFa7X9yoieKg nZ9SL6g6XUZB4T8JTsHjj/jl5mDkXm9OL9q5PXYk8jvYW+0z+ZFl50MuQE5hux/1JCb0 LGzSE8+YG66TEUf4ZiTjBQTEljL5RoysyjRXf6mXyclaguwl669ZY7xZUBI3muwU9aCY vvtGhI55IImiA1xFCV6r6k/gPd1STYDziK3ISNX8QLBmm6Mb25Iqp7nn0WU2idj9uquH 6W2jnuUdnQdqHXBLMCei0W/vsGsX3pW/nWzXyP//NohPCUwOSpIAl184ecxoR/ZNpXgm bvhQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=UD5JMj93umQ0gF0B84z6nV+zuiOWw3Js3QrE3YgXXmg=; fh=nZrltlMero+KUuoIhxJ1ENiNIglktl3lO1USYv5uOeA=; b=IjRqiC5sPdTkI/C7CKD9Bbn3E3xxyr6LklsIcjd5OySpvahg2+hK6WCCohkZiFPZdO W2gXHA4c1LeCeVCOv9JKn90aNgVbl4jN9aPxVf2vejS5FMPyvYJb/3KG8lh4YGSQfRUC BqJV8qDhYSIHtRhyytNYXoNVTRGkDiqJPrwsNO4oViUSN9oM2ULc/ck5z8qddnh5vyxL nbSFEQZewJSV/KGPD1AR7lmFr42azLLawhhsBRgMcy3NIt7qIUBigY7zAgRO3nlpYfGA TNxot1quP2fxUpieT1CyITNtEldWqEQ324y19s19rH1db2mEqGcVOCf/W6XwsJBW7rj5 V4zw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HwG37Wx1; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com X-Forwarded-Encrypted: i=1; AJvYcCX3gQtyof2jbvWCxZbrsQcp4FZrZV88VN84iUB8edkZ3oDhGYX5DFo0wA7oRjGub6C3UBIfvhhodIpJ2EPeI6L68LHE2w== Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id c12-20020ad45aec000000b0068c46099424si2407527qvh.608.2024.02.02.05.55.59 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 05:55:59 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HwG37Wx1; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1AD5A385802F for <ouuuleilei@gmail.com>; Fri, 2 Feb 2024 13:55:59 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 6ECE83858403 for <gcc-patches@gcc.gnu.org>; Fri, 2 Feb 2024 13:55:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6ECE83858403 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6ECE83858403 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706882113; cv=none; b=lf4W9BRBAexGcKweQYTuo7PpB+gh2CSvhBd8CCSmCtkF2PAV2YK4RRVnC6lAc3qk5h+XV80HWBC04sQB3kHOd+Z6j1nGveFeD3kGA9Vapxl9EGn0mwlsZC1P0au9I0/foXEY4GckzvKCDcoF30H395q7mIlqskEn5QssZ5wUqO8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706882113; c=relaxed/simple; bh=oqDvomu9yPtoyhTLfNc3T2e/wuo5X7adt6niWllpZuY=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=nW17tshLAy7b4eEmzga5k5w/po2fH5mzcsoddgqrFcB7c2mjP+JLfFWaxM/c4wYvX6G9UB+g32zvoaQi2QeK3W5mvVv9wYfrL0dGeTa+yUkkkO2Ty30gSXzOSx/9cvyC5YZP86UFHpokmEQxrwiROP0N6bG4mbuvRV7IwiFXSSE= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706882112; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UD5JMj93umQ0gF0B84z6nV+zuiOWw3Js3QrE3YgXXmg=; b=HwG37Wx1b0ECPOZkQn+kVdnw0EkRvYjSqa+YxOhkywywP/16YuuLV/371D8RUSkUvGrzDa iV3DDQU456dopjPudr7yjve8RkRABI5dQiCCz1Stgy/e8JXpcS8N07x/VzsKO6vlYOxfK3 yyFs2OBuZE/WuD47wr1zWp2ecAvgmlQ= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-412-v3WrxvSJPZqF1JqPUbVQUQ-1; Fri, 02 Feb 2024 08:55:10 -0500 X-MC-Unique: v3WrxvSJPZqF1JqPUbVQUQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3D7AF10AF989; Fri, 2 Feb 2024 13:55:10 +0000 (UTC) Received: from localhost (unknown [10.42.28.13]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0AE6A1121306; Fri, 2 Feb 2024 13:55:09 +0000 (UTC) From: Jonathan Wakely <jwakely@redhat.com> To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] libstdc++: Fix experimental/names.cc failure on AIX Date: Fri, 2 Feb 2024 13:54:33 +0000 Message-ID: <20240202135505.2285472-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org 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>, <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>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789795666989346605 X-GMAIL-MSGID: 1789795666989346605 |
Series |
[committed] libstdc++: Fix experimental/names.cc failure on AIX
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Jonathan Wakely
Feb. 2, 2024, 1:54 p.m. UTC
Tested x86_64-linux and powerpc-ibm-aix7.3.1.0. Pushed to trunk. -- >8 -- This fails due to "u" being used in a system header. FAIL: experimental/names.cc -std=gnu++17 (test for excess errors) Excess errors: /usr/include/sys/poll.h:77: error: expected unqualified-id before ';' token /usr/include/sys/poll.h:77: error: expected ')' before ';' token FAIL: experimental/names.cc -std=gnu++17 (test for excess errors) Excess errors: /usr/include/sys/poll.h:102: error: expected unqualified-id before ';' token /usr/include/sys/poll.h:102: error: expected ')' before ';' token libstdc++-v3/ChangeLog: * testsuite/17_intro/names.cc [_AIX]: Undefine "u". --- libstdc++-v3/testsuite/17_intro/names.cc | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/libstdc++-v3/testsuite/17_intro/names.cc b/libstdc++-v3/testsuite/17_intro/names.cc index 53c5aff219d..784da9a7352 100644 --- a/libstdc++-v3/testsuite/17_intro/names.cc +++ b/libstdc++-v3/testsuite/17_intro/names.cc @@ -240,6 +240,8 @@ #undef r #undef x #undef y +// <sys/poll.h> defines pollfd_ext::u on AIX 7.3 +#undef u // <sys/var.h> defines vario::v #undef v // <sys/timer.h> defines trb::func and cputime_tmr::func