public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla@gcc.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	[thread overview]
Message-ID: <bug-98412-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98412

            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=c++11 -g -O -fno-enforce-eh-specs -fno-stack-protector
-fno-threadsafe-statics -fno-exceptions -fno-rtti
-fdebug-prefix-map=/homes/botcazou/gcc-head/src/libcody/= -W -Wall -include
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).

             reply	other threads:[~2020-12-21 12:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-21 12:22 ebotcazou at gcc dot gnu.org [this message]
2020-12-21 12:26 ` [Bug bootstrap/98412] " jakub at gcc dot gnu.org
2020-12-21 13:42 ` nathan at gcc dot gnu.org
2020-12-21 16:04 ` ebotcazou at gcc dot gnu.org
2020-12-21 16:06 ` ebotcazou at gcc dot gnu.org
2020-12-21 16:43 ` nathan at gcc dot gnu.org
2020-12-21 17:11 ` ebotcazou at gcc dot gnu.org
2020-12-21 17:20 ` cvs-commit at gcc dot gnu.org
2020-12-21 17:42 ` nathan at gcc dot gnu.org
2020-12-22  6:58 ` nikhil.benesch at gmail dot com
2020-12-22 12:45 ` nathan at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-98412-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).