This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, trying some C++11 features, I recently figured that Cygwin's libstdc++ does not use C99 features. I.e. c++config.h has the following lines: /* Define if C99 functions or macros from <wchar.h>, <math.h>, <complex.h>, <stdio.h>, and <stdlib.h> can be used or exposed. */ /* #undef _GLIBCXX_USE_C99 */ That in turn disables some C++11 features, so that the following example fails to compile (due to its use of std::to_string). #include <iostream> #include <string> int main() { std::cout << std::to_string(42L) << std::endl; return 0; } Is this a known issue? Regards Markus Wanner
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |