[Buildroot] [Bug 7250] Cannot build with -std=c++11

bugzilla at busybox.net bugzilla at busybox.net
Mon Jun 30 21:13:57 UTC 2014


https://bugs.busybox.net/show_bug.cgi?id=7250

Yann E. MORIN <yann.morin.1998 at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yann.morin.1998 at free.fr

--- Comment #2 from Yann E. MORIN <yann.morin.1998 at free.fr> 2014-06-30 21:13:55 UTC ---
Confirmed:

  - with a host gcc-4.8.3, this compiles fine:
      $ g++ -std=c++11 -c -o 5468.o 5468.cxx
  - with a crosstool-NG armv6 toolchain, compiles OK:
      $ armv6-rpi-linux-gnueabihf-g++ -std=c++11 -c -o 5468.o 5468.cxx
  - but fails with the Buildroot-built toolchain using gcc-4.8.3:
      $ arm-buildroot-linux-uclibcgnueabihf-g++ -std=c++11 -c -o 5468.o
5468.cxx
      ess.cxx: In function ‘int main()’:
      ess.cxx:5:5: error: ‘to_string’ is not a member of ‘std’
           std::to_string(0);
           ^

C++ expert, anyone? ;-)

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the buildroot mailing list