PGI: Cmake should not treat `-A` as a standard argument for PGI compiler
The -A
argument for pgc++ can cause erroneous compilation errors. We have seen two thus far and have filed and RFE with PGI to fix the problem. The errors reported do not appear with other compilers, nor do they appear when we compile without the -A
option.
I would like to suggest that cmake
either stops using -A
as a standard option for the PGI compiler or a mechanism is provided to customize what the standard options are for PGI.
!3827 (closed) has been provided to remove -A
as a standard option for PGI.