Public bug reported:

Binary package hint: g++

Compilation of a program using code such as:

text = std::string(stext.toUtf8());

fails on Ubuntu, when it compiles on most other Linux distributions. I.e 
Fedora, Arch, Slackware (all tested)
This is because most programmers assume that -lstdc++ is automatically included 
when compiling using g++:

ref: http://ubuntuforums.org/showthread.php?t=15120
ref: http://gcc.gnu.org/ml/gcc-help/2000-01/msg00183.html

Please ensure that -lstdc++ is included by default when compiling using
g++

** Affects: gcc-defaults (Ubuntu)
     Importance: Undecided
         Status: New

-- 
g++ does not automatically include  -lstdc++
https://bugs.launchpad.net/bugs/122334
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to