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

std::to_string is not a member of 'std' #1396

Closed
apex-omontgomery opened this issue Sep 26, 2018 · 0 comments · Fixed by #1397
Closed

std::to_string is not a member of 'std' #1396

apex-omontgomery opened this issue Sep 26, 2018 · 0 comments · Fixed by #1397

Comments

@apex-omontgomery
Copy link
Contributor

Description

It's my understanding that this is due to cygwin issues
Mailing list: here

I cannot modify my gcc:cygwin.

Steps to reproduce

PS C:\application\common\tests> g++ -std=c++11 -Wfatal-errors -Wall -I. -c 000-CatchMain.cpp
In file included from 000-CatchMain.cpp:9:0:
catch.hpp: In function 'std::string Catch::to_string(const T&)':
catch.hpp:8418:16: error: 'to_string' is not a member of 'std'
         return std::to_string(t);
                ^
compilation terminated due to -Wfatal-errors.

Extra information

PS C:\application\common\tests> head -n 3 .\catch.hpp
/*
 *  Catch v2.4.0
 *  Generated: 2018-09-04 11:55:01.682061
C:\Users\me>ver

Microsoft Windows [Version 10.0.16299.611]
PS C:\application\common\tests> g++ --version
g++ (GCC) 4.9.3
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
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

Successfully merging a pull request may close this issue.

1 participant