[Bug 12396] New: std::string size() and length() returning zero on non empty string.
bugzilla at busybox.net
bugzilla at busybox.net
Tue Dec 10 04:06:52 UTC 2019
https://bugs.busybox.net/show_bug.cgi?id=12396
Bug ID: 12396
Summary: std::string size() and length() returning zero on non
empty string.
Product: uClibc++
Version: 0.2.4
Hardware: Other
OS: Other
Status: NEW
Severity: critical
Priority: P5
Component: Standard Compliance
Assignee: unassigned at uclibc.org
Reporter: enhering at gmail.com
CC: uclibc-cvs at uclibc.org
Target Milestone: ---
The following code:
int main(void) {
std::string teste = "teste12";
std::cout << "Test string: " << teste << "(" << teste.size() << ")" <<
std::endl;
}
Produces:
Test string: teste12()
On QSDK, an OpenWRT 15.05 based linux maintained by Qualcomm.
The same code compiles and runs well on Debian 9 and Mac OS 10.14+
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the uClibc-cvs
mailing list