From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ED23A3858002; Tue, 23 Mar 2021 17:16:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ED23A3858002 From: "alexander.lelyakin at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvOTk3MzVdIE5ldzogW21vZHVsZXNdIGluIHN5c3Rl?= =?UTF-8?B?bSBoZWFkZXJzOiBub24tdGVtcGxhdGUgdHlwZSDigJhyZWJpbmRfYWxsb2M=?= =?UTF-8?B?4oCZIHVzZWQgYXMgYSB0ZW1wbGF0ZQ==?= Date: Tue, 23 Mar 2021 17:16:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alexander.lelyakin at googlemail dot com X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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, 23 Mar 2021 17:16:59 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99735 Bug ID: 99735 Summary: [modules] in system headers: non-template type =E2=80=98rebind_alloc=E2=80=99 used as a template Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alexander.lelyakin at googlemail dot com Target Milestone: --- /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header ccomplex /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header system_er= ror /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header locale /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header unordered= _map /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header numbers /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header cstddef /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header variant /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header complex /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header stack /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header sstream /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header mutex /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header charconv /usr/local/bin/g++ -std=3Dc++20 -fmodules-ts -x c++-system-header filesystem ---- In file included from /usr/local/include/c++/11.0.1/filesystem:45: /usr/local/include/c++/11.0.1/bits/fs_path.h: In instantiation of =E2=80=98std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::filesystem::__cxx11::path::generic_string(const _Allocator&) const [wi= th _CharT =3D char; _Traits =3D std::char_traits; _Allocator =3D std::allocator]=E2=80=99: /usr/local/include/c++/11.0.1/bits/fs_path.h:1165:33: required from here /usr/local/include/c++/11.0.1/bits/fs_path.h:1131:13: error: non-template t= ype =E2=80=98rebind_alloc=E2=80=99 used as a template 1131 | using _Alloc2 =3D typename allocator_traits<_Allocator>::temp= late | ^~~~~~~ /usr/local/include/c++/11.0.1/bits/fs_path.h:1133:66: error: non-template t= ype =E2=80=98rebind_alloc=E2=80=99 used as a template 1133 | basic_string, _Alloc2> __str(__a); | ^~= ~~~ /usr/local/include/c++/11.0.1/bits/fs_path.h:1133:66: error: non-template t= ype =E2=80=98rebind_alloc=E2=80=99 used as a template /usr/local/include/c++/11.0.1/bits/fs_path.h: In instantiation of =E2=80=98std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::filesystem::__cxx11::path::generic_string(const _Allocator&) const [wi= th _CharT =3D wchar_t; _Traits =3D std::char_traits; _Allocator =3D std::allocator]=E2=80=99: /usr/local/include/c++/11.0.1/bits/fs_path.h:1170:36: required from here /usr/local/include/c++/11.0.1/bits/fs_path.h:1131:13: error: non-template t= ype =E2=80=98rebind_alloc=E2=80=99 used as a template 1131 | using _Alloc2 =3D typename allocator_traits<_Allocator>::temp= late | ^~~~~~~ /usr/local/include/c++/11.0.1/bits/fs_path.h:1133:66: error: non-template t= ype =E2=80=98rebind_alloc=E2=80=99 used as a template 1133 | basic_string, _Alloc2> __str(__a); | ^~= ~~~ /usr/local/include/c++/11.0.1/bits/fs_path.h:1133:66: error: non-template t= ype =E2=80=98rebind_alloc=E2=80=99 used as a template /usr/local/include/c++/11.0.1/bits/fs_path.h: In instantiation of =E2=80=98std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::filesystem::__cxx11::path::generic_string(const _Allocator&) const [wi= th _CharT =3D char8_t; _Traits =3D std::char_traits; _Allocator =3D std::allocator]=E2=80=99: /usr/local/include/c++/11.0.1/bits/fs_path.h:1176:36: required from here /usr/local/include/c++/11.0.1/bits/fs_path.h:1131:13: error: non-template t= ype =E2=80=98rebind_alloc=E2=80=99 used as a template 1131 | using _Alloc2 =3D typename allocator_traits<_Allocator>::temp= late | ^~~~~~~ /usr/local/include/c++/11.0.1/bits/fs_path.h:1133:66: error: non-template t= ype =E2=80=98rebind_alloc=E2=80=99 used as a template 1133 | basic_string, _Alloc2> __str(__a); | ^~= ~~~ /usr/local/include/c++/11.0.1/bits/fs_path.h:1133:66: error: non-template t= ype =E2=80=98rebind_alloc=E2=80=99 used as a template /usr/local/include/c++/11.0.1/bits/fs_path.h: In instantiation of =E2=80=98std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::filesystem::__cxx11::path::generic_string(const _Allocator&) const [wi= th _CharT =3D char16_t; _Traits =3D std::char_traits; _Allocator =3D std::allocator]=E2=80=99: /usr/local/include/c++/11.0.1/bits/fs_path.h:1185:37: required from here /usr/local/include/c++/11.0.1/bits/fs_path.h:1131:13: error: non-template t= ype =E2=80=98rebind_alloc=E2=80=99 used as a template 1131 | using _Alloc2 =3D typename allocator_traits<_Allocator>::temp= late | ^~~~~~~ /usr/local/include/c++/11.0.1/bits/fs_path.h:1133:66: error: non-template t= ype =E2=80=98rebind_alloc=E2=80=99 used as a template 1133 | basic_string, _Alloc2> __str(__a); | ^~= ~~~ /usr/local/include/c++/11.0.1/bits/fs_path.h:1133:66: error: non-template t= ype =E2=80=98rebind_alloc=E2=80=99 used as a template /usr/local/include/c++/11.0.1/bits/fs_path.h: In instantiation of =E2=80=98std::__cxx11::basic_string<_CharT, _Traits, _Allocator> std::filesystem::__cxx11::path::generic_string(const _Allocator&) const [wi= th _CharT =3D char32_t; _Traits =3D std::char_traits; _Allocator =3D std::allocator]=E2=80=99: /usr/local/include/c++/11.0.1/bits/fs_path.h:1189:37: required from here /usr/local/include/c++/11.0.1/bits/fs_path.h:1131:13: error: non-template t= ype =E2=80=98rebind_alloc=E2=80=99 used as a template 1131 | using _Alloc2 =3D typename allocator_traits<_Allocator>::temp= late | ^~~~~~~ /usr/local/include/c++/11.0.1/bits/fs_path.h:1133:66: error: non-template t= ype =E2=80=98rebind_alloc=E2=80=99 used as a template 1133 | basic_string, _Alloc2> __str(__a); | ^~= ~~~ /usr/local/include/c++/11.0.1/bits/fs_path.h:1133:66: error: non-template t= ype =E2=80=98rebind_alloc=E2=80=99 used as a template /usr/local/include/c++/11.0.1/filesystem: warning: not writing module =E2=80=98/usr/local/include/c++/11.0.1/filesystem=E2=80=99 due to errors ---- g++ (GCC) 11.0.1 20210323 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.=