This statement specifies the library version for C++ 2017 and C++ 2020.
The library version has an effect on the libraries used for include file search and resolving. In //MODIFY-INCLUDE-LIBRARIES the operand *STANDARD-LIBRARY is affected, in //MODIFY-BIND-PROPERTIES it is the option RUNTIME-LANGUAGE=*CPLUS(...).
Details for the modern C++ libraries are in chapter The C++ library for the language modes C++ 2017 and C++ 2020.
MODIFY-LIBRARY-VERSION |
VERSION= *UNCHANGED / 1 / <integer 1..2> / *HIGHEST-SUPPORTED |
VERSION = *UNCHANGED
The value specified in the last MODIFY-LIBRARY-VERSION statement applies.
VERSION = 1 / <integer 1..2>
Use the selected library version when the language is C++ 2017 or C++ 2020.
VERSION = *HIGHEST-SUPPORTED
Use the highest supported library version. The chosen number will change in future compiler versions. In compiler version 4.0B03 this is equivalent to 2.