In Part 1 of this C++ Standard September, 2013 meeting trip report, I wanted to mostly go over the core, library issues that affects C++14 and are urgent for the new Standard to emerge. What some people forget is that while this drive for C++14 is happening, there are still some parts of the Committee working on large and small features beyond C++14. This part will describe the many future feature proposals. Many of these proposals may only get full air time during the plenary session and these plenary sessions are getting longer and... [More]
The XL C/C++ for AIX Fix Pack 16 (November 2013 PTFs) for 11.1 are now available at the following links and on Fix Central: XL C/C++ for AIX Fix Pack 16 (November 2013 PTF) for 11.1 http://www.ibm.com/support/docview.wss?uid=swg24036575 Fix list for XL C/C++ for AIX http ://w ww.i bm.c om/s uppo rt/d ocvi ew.w ss?u id=s wg27 0386 0 5 XL C for AIX Fix Pack 16 (November 2013 PTF) for 11.1 http://www.ibm.com/support/docview.wss?uid=swg24036574 Fix list for XL C for AIX http ://w ww.i bm.c om/s uppo rt/d ocvi ew.w ss?u id=s wg27 0383 5 2... [More]
The XL C/C++ for BlueGene/Q Fix Pack 5 (August 2013 Update) for 12.1 is now available at the following links and on Fix Central: XL C/C++ for BlueGene/Q Fix Pack 6 ( Nov ember 2013 Update) for 1 2 .1 Fix list for XL C/C++ for BlueGene/Q Can't find the updates for your compiler? Check out our C/C++ compiler latest update page here .
The IBM XL C/C++ compiler V12.1 supports a new option called -qoptfile. You can use this option to specify a file containing a list of additional command line options to be used for the compilation. This is the syntax of this option: >>- -q--optfile--=--filename----------------------------------->< Here filename specifies the name of the file that contains a list of additional command line options. The file is a plain text file with one or more command lines options per line. filename can contain a relative path or absolute... [More]
We are pleased to announce the Managed Beta Program for IBM®XL C/C++ for Linux on System z. This Beta Program is separated into two stages, namely, features and compatibility, and, quality and performance. Clients participating in the Managed Beta program will join developers and product management for education and discussions. Participants will evaluate code and have access to a private website. The beta website will include a tool for reporting problems and feature requests. There will also be a forum for questions and... [More]
The deleted functions feature is introduced into the C++11 standard. In this article, I will explain this feature and provide some examples on how to use it. Background C++ has six kinds of special member functions: •Default constructors •Destructors •Copy constructors •Copy assignment operators •Move constructors •Move assignment operators These special member functions are used to create, destroy, initialize, convert, and copy class objects. Suppose that you haven't defined a certain special... [More]
Having trouble identifying the correct compiler version installed on your AIX machine? There are a couple of ways such as using the -qversion compiler option or lslpp for the correct compiler filesets. Feel free to checkout the technote below for more information. How to determine the installed XL C/C++ for AIX compiler version? Please let me know if you find this useful.
The XL C/C++ for AIX Fix Pack 19 (October 2013 PTFs) for 10.1 are now available at the following links and on Fix Central: XL C/C++ for AIX Fix Pack 19 (October 2013 PTF) for 10.1 http://www.ibm.com/support/docview.wss?uid=swg24036374 Fix list for XL C/C++ for AIX http://www.ibm.com/support/docview.wss?uid=swg27038605 XL C for AIX Fix Pack 19 (October 2013 PTF) for 10.1 http://www.ibm.com/support/docview.wss?uid=swg24036376 Fix list for XL C for AIX http://www.ibm.com/support/docview.wss?uid=swg27038352 Note that this C/C++ PTF... [More]
In C language the function "main" has special meanings and defined behaviors. In the compiler implementation, function "main" represents the triggering point for runtime initialization, but there might be needs to nominate an alternative entry point name for function "main" while maintaining the behavior of function "main". Starting from z/OS V2R1, you can define an alternative entry point name for function "main" in Metal C programs using the "#pragma map" directive. For... [More]
The XL C/C++ for Linux Fix Pack 4 (October 2013 Update) for 12.1 is now available at the following links and on Fix Central: XL C/C++ for Linux Fix Pack 4 (October 2013 Update) for 12.1 Fix list for XL C/C++ for Linux Runtime for XL C/C++ for Linux Fix Pack 4 (October 2013 Update) for 12.1 ... [More]
The XL C/C++ for Blue Gene/P Fix Pack 17 (October 2013 Update) for 9.0 is now available at the following links and on Fix Central: XL C/C++ Advanced Edition for Blue Gene/P Fix Pack 17 (October 2013 Update) for 9.0 Fix list for XL C/C++ Advanced Edition for Blue Gene/P Can't find the updates for your compiler? Check out our C/C++ compiler latest update page here.
The usage and advantage of the decltype specifier is introduced in Part I. For details, see https://www.ibm.com/developerworks/community/blogs/5894415f-be62-4bc0-81c5-3956e82276f3/entry/c_11_the_decltype_specifier_part_i?lang=en In this section, I will introduce the deduction rules of decltype. Basically, the type denoted by decltype(e) is defined as follows: If e is an unparenthesized id-expression or an unparenthesized class member access, decltype(e) is the type of the entity named by e. If there is no such entity, or if e names a set... [More]
The IBM XL C/C++ compiler, V12.1 starts to support the OpenMP 3.1 extension to the OMP_NUM_THREADS environment variable. With this extension, you can use OMP_NUM_THREADS to specify the number of threads to use for nested parallel regions. Syntax : >>-OMP_NUM_THREADS=-- num_list ---------------------------------->< num_list A list of one or more positive integer values separated by commas. Example : export... [More]
The IBM XL C and XL C/C++ compilers support the -qalias option. This option indicates whether a program contains certain categories of aliasing or does not conform to C/C++ standard aliasing rules. The -qalias option takes several suboptions, including ansi and typeptr . When ansi is in effect, type-based aliasing is used during optimization; that is, pointers can only point to an object of the same type. The only exception is that a char* dereference can alias any other types. typeptr complies to more restrictive aliasing rules... [More]
I apologize as this report is late due to several back to back conferences through September. At this meeting, the most important thing was to address as many of the National Body (NB) Comments from the draft C++14 CD possible. This will enable us to be in good shape for the release of C++14 in 2014. Please look at my blog series to get an idea of the major content. However, this meeting did have some interesting minor changes which modified that content. This is fairly normal to decouple features which is still controversial. The biggest... [More]