Comentários (5)

1 Zhipeng.Liu comentou às Link permanente

Chinese Version of this blog: <br /> https://www.ibm.com/developerworks/mydeveloperworks/blogs/12bb75c9-dfec-42f5-8b55-b669cc56ad76/entry/xlc__e6_94_af_e6_8c_81_e7_9a_84c_11_e7_89_b9_e6_80_a77?lang=en

2 Kenji_Kindoh comentou às Link permanente

When do you support lambda ?

3 Michael_Wong comentou às Link permanente

Thanks for your comment and interest in lambdas. It is one of a long list of future feature that is part of C++11full compliance requirement. If you have a specific-need, please contact me directly for more direct update so I can rearrange priorities based on your specific requirement. Thanks.

4 AntonDaneyko comentou às Link permanente

What about the standard library? Is it provided as well? Things like std::tuple and std::function? <br /> I am trying to compile (xlC tmp.cpp -qlanglvl=extended0x -std=c++0x) a little tuple example http://ideone.com/U5XeL1 using xlC 12.1 for Linux (for Blue Gene Q), but I get the following error: /long_path_with_gnu_in_it/c++0x_warning.h, line 31.2: 1540-0859 (S) #error directive: This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.. <div>&nbsp;</div> So it looks like I am using a GNU's standard library. Is there any way to get it working?

5 Michael_Wong comentou às Link permanente

C++11 Library is being worked on. As you can see, I added a comment to that in the latest update post for z/OS V2R1. <div>&nbsp;</div> The problem you are seeing is due to a macro in GNU library which makes sure it only works for GNU for a specific version. But even if you were to force define that macro, it would still fail because C++11 library requires C++11 feature support.