From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A3128389442B; Tue, 6 Jul 2021 19:36:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3128389442B From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/100900] error: missing 'typename' prior to dependent type name in elements_view Date: Tue, 06 Jul 2021 19:36:16 +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: 11.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.2 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2021 19:36:16 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100900 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:e9fbf0f9d621213ea16713b595feb88b789a8858 commit r10-9969-ge9fbf0f9d621213ea16713b595feb88b789a8858 Author: Avi Kivity Date: Mon Jun 7 11:19:05 2021 -0400 libstdc++: add missing typename for dependent type in ranges::elements_= view [PR100900] Clang complains about the missing typename. I believe it's not required in a more complete implementation of C++, but it's nicer to support less complete implementations. PR libstdc++/100900 libstdc++-v3/ChangeLog: * include/std/ranges (elements_view::__iter_cat::_S_iter_cat): Add missing typename. (cherry picked from commit 5e2e15f212e2458a1258b8c856895c755460bc6b)=