From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 731B23858C52; Sat, 19 Nov 2022 11:58:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 731B23858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668859084; bh=sZt+oOBi911wC4mm5+0yRU+a1tDWnK9Ac5FujG3TAAs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wy+uMSY6gW9RH+P6c9KLwPt0bz3D/3ZESXCZHqotAwQc5e57up/AQNZdXLGBa86jJ Dt8xc9Ok9Bn11hAw5Ew6q44bNt74JQLR6Y+e9ILSxdPaQ8lqaZ8Q4ROuPGB1wPvWk1 uxCaVMV/0RLx63DShdm2lWtBet+u2adVcm3+A858= From: "wjwray at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/98859] pedantic error on use of __VA_OPT__ before C++20 is unnecessary and counterproductive Date: Sat, 19 Nov 2022 11:58:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: wjwray 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: cc 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=3D98859 Will Wray changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wjwray at gmail dot com --- Comment #3 from Will Wray --- Linking the related MSVC issue /Zc:preprocessor __VA_OPT__ is not enabled with /std:c++17 https://developercommunity.visualstudio.com/t/Zc:preprocessor-__VA_OPT__-is= -not-enabl=