This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: std::to_string missing under gcc 4.8.3?
- From: Mark Ziesemer <online at mark dot ziesemer dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 15 Jan 2015 16:32:46 +0000 (UTC)
- Subject: Re: std::to_string missing under gcc 4.8.3?
- Authentication-results: sourceware.org; auth=none
- References: <loom dot 20150105T175419-513 at post dot gmane dot org>
Bump / any ideas here?
> $ cat test.cpp
> #include <string>
>
> int main()
> {
> std::to_string(0);
> return 0;
> }
>
> # Reference:
>
http://stackoverflow.com/questions/12975341/to-string-is-not-a-member-of-std-says-so-g
>
> $ g++ -std=c++1y test.cpp
> test.cpp: In function âint main()â:
> test.cpp:5:2: error: âto_stringâ is not a member of âstdâ
> std::to_string(0);
> ^
I see the default gcc package in Cygwin has been bumped to 4.9.2. Repeating
the attempt here with 4.9.2 has shown no improvement.
My original report was for 4.8.2 under Cygwin 64-bit. Further testing under
clean Cygwin installs shows that neither GCC version (4.8.2 nor 4.9.2) is
working here under either the 32-bit or 64-bit Cygwin release.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple