Discrepancies for option defaults
The section shows the discrepancies for compiler option defaults between IBM® Open XL C/C++ for AIX® 17.1.2 and IBM XL C/C++ for AIX 16.1.0.
| Default on IBM XL C/C++ for AIX 16.1.0 invoked by xlclang or xlclang++ | Default on IBM Open XL C/C++ for AIX 17.1.2 |
|---|---|
| -mcpu=power4 | -mcpu=power7 |
| -qnolibansi | -fbuiltin, which is an equivalent option to -qlibansi |
| -qnortti | -frtti, which is an equivalent option to -qrtti or -qrtti=all |
| -qnostrict is implied when -O3 is in effect | -ffast-math is not implied when -O3 is in effect |
-std=gnu99 |
-std=gnu17 |
-std=gnu++11 |
-std=gnu++17 |
-std=gnu99