mandatory-cxx11 on Cygwin doesn't have to_string

Stephen Leake <[email protected]>
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <[email protected]>
Cygwin g++ is:

g++ --version
g++ (GCC) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.

Cygwin does not provide "to_string" in the "<string>" header:

../mandatory-cxx11/src/sanity.cc:38:12: error: ‘std::to_string’ has not
been declared

(even after adding "#include <string>")

searching for "to_string" in /usr/include turns up boost references
only.

reverting all uses of to_string, stoi, and similar lexical casts lets
mtn compile.

Any clues?

-- 
-- Stephe

_______________________________________________
Monotone-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/monotone-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.