From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 56882388A437; Mon, 7 Jun 2021 15:24:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 56882388A437 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: Mon, 07 Jun 2021 15:24:28 +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: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED 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 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: Mon, 07 Jun 2021 15:24:28 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100900 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:23fa1e7eab7680ae0488b4c8802b0bcd8f78425d commit r11-8519-g23fa1e7eab7680ae0488b4c8802b0bcd8f78425d 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)=