From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 026EF3858D1E; Mon, 15 Jan 2024 15:13:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 026EF3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705331620; bh=AWoLfF1E7FX3tnSq0pWdrG1BCWhk/G0CPB1OtkcG/18=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vuREBtQ+N1VpTaOi83acM67HRAbCof6uo1zsgDuTdoEeB9GLb6UV4isUJjF1oE2Sq uc8HFMPSleWt7gCF4H7lsM1eSotXAtoPvAZjbUKzVASVZsyh/JXqbAeXGG+s5A1pnq VlL3QOqKXNnLdxLLcpI53R+dbymVeVNyQ/4VdxKs= From: "pilarlatiesa at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/113376] Confusing notes when using C++17 parallel algorithms Date: Mon, 15 Jan 2024 15:13:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pilarlatiesa at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113376 --- Comment #3 from Pilar Latiesa --- It seems that what is missing is a corresponding change in the macro defini= tion logic. It should have been changed to: // Check the user-defined macro for warnings #if defined(PSTL_USAGE_WARNINGS) # define _PSTL_USAGE_WARNINGS #endif See https://github.com/llvm/llvm-project/blob/5ccf19ded09f68bef43275c81c20b0e65= f7c0b75/pstl/include/pstl/internal/pstl_config.h#L26=