Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not compile on Cygwin #2

Closed
Jenny-fa opened this issue May 31, 2015 · 5 comments
Closed

Does not compile on Cygwin #2

Jenny-fa opened this issue May 31, 2015 · 5 comments

Comments

@Jenny-fa
Copy link
Collaborator

"origin/core/type.hpp" uses the C++ standard library function std::to_string(), which, along with all the other numeric conversion functions (e.g. std::stoi(), std::stol(), std::stoul(), etc.) is not defined by libstdc++ on Cygwin (see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61580#c3).

@asutton
Copy link
Owner

asutton commented Jun 1, 2015

Get a compliant development environment?
On May 31, 2015 5:40 PM, "Jennifer Yao" notifications@github.com wrote:

"origin/origin/core/type.hpp" uses the C++ standard library function
std::to_string(), which, along with all the other numeric conversion
functions (e.g. std::stoi(), std::stol(), std::stoul(), etc.) is not
defined by libstdc++ on Cygwin (see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61580#c3).


Reply to this email directly or view it on GitHub
#2.

@Jenny-fa
Copy link
Collaborator Author

Jenny-fa commented Jun 1, 2015

[imprecations redacted]

I wouldn't blame Cygwin entirely—newlib actually does define the C99 functions that std::to_string() depends on; libstdc++'s Autoconf tests are simply less than comprehensive.

At any rate, I'm currently implementing a workaround. ^____^ I'm going to shoehorn in Cygwin support, whether you like it or not.

@emsr
Copy link

emsr commented Jun 1, 2015

If you can, please post a bug report and a patch to gcc - we try to keep up ;-)
https://gcc.gnu.org/bugzilla/

@asutton asutton reopened this Sep 8, 2015
@asutton
Copy link
Owner

asutton commented Sep 8, 2015

You can't close an issue unless there's a pull request or merge.

@Jenny-fa
Copy link
Collaborator Author

Jenny-fa commented Sep 9, 2015

Closing this because it was reopened in error (see c7bb5e6).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants