From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F3FA8384C00B; Mon, 21 Dec 2020 12:22:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F3FA8384C00B From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/98412] New: libcody does not compile with older GCC versions Date: Mon, 21 Dec 2020 12:22:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: ebotcazou at gcc dot gnu.org 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: Mon, 21 Dec 2020 12:22:29 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98412 Bug ID: 98412 Summary: libcody does not compile with older GCC versions Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: ebotcazou at gcc dot gnu.org Target Milestone: --- This fails in libcody: g++ -std=3Dc++11 -g -O -fno-enforce-eh-specs -fno-stack-protector -fno-threadsafe-statics -fno-exceptions -fno-rtti -fdebug-prefix-map=3D/homes/botcazou/gcc-head/src/libcody/=3D -W -Wall -inc= lude config.h -I/homes/botcazou/gcc-head/src/libcody \ -MMD -MP -MF buffer.d -c -o buffer.o /homes/botcazou/gcc-head/src/libcody/buffer.cc /homes/botcazou/gcc-head/src/libcody/buffer.cc: In member function 'void Cody::Detail::MessageBuffer::AppendInteger(unsigned int)': /homes/botcazou/gcc-head/src/libcody/buffer.cc:149:18: error: 'to_string' is not a member of 'std' std::string v (std::to_string (u)); ^ gmake[3]: *** [buffer.o] Error 1 It's with GCC 4.9.4 so not very old (< 5 years).=