This bug is related to
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1725869 (and
https://sourceware.org/bugzilla/show_bug.cgi?id=22296). If gcc-4 is
rebuilt with a version of glibc with that bug fixed then this one is
fixed too.

** Bug watch added: Sourceware.org Bugzilla #22296
   https://sourceware.org/bugzilla/show_bug.cgi?id=22296

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1725847

Title:
  libstdc++-4.8-dev:amd64 4.8.5-4ubuntu6 configured without
  _GLIBCXX_USE_C99

Status in gcc-4.8 package in Ubuntu:
  Won't Fix

Bug description:
  Test program compiled on Artful Aardvark Ubuntu 17.10.

  $ which g++-4.8
  /usr/bin/g++-4.8

  $ /usr/bin/g++-4.8 --version
  g++-4.8 (Ubuntu 4.8.5-4ubuntu6) 4.8.5
  Copyright (C) 2015 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.

  $ /usr/bin/g++-4.8 -std=c++11 -x c++ - <<EOF
  #include <iostream>
  #include <string>
  int main()
  {
    std::cout << std::to_string(0) << '\n';
    return 0;
  }
  EOF 

  Expected result

  compile without errors, output 0

  Actual result

  <stdin>: In function ‘int main()’:
  <stdin>:5:16: error: ‘to_string’ is not a member of ‘std’

  Supposed cause

  _GLIBCXX_USE_C99 is not set in 
  /usr/include/x86_64-linux-gnu/c++/4.8/bits/c++config.h
  in package libstdc++-4.8-dev:amd64 (4.8.5-4ubuntu6)

  Further information

  Test program compiles and runs on Zesty Zapus with package
  libstdc++-4.8-dev:amd64 (4.8.5-4ubuntu4).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/1725847/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to