[cmake-developers] CMake adds -qalias=noansi by XLC

Brad King brad.king at kitware.com
Thu Jul 2 09:24:26 EDT 2015


On 07/01/2015 12:14 PM, Todd Gamblin wrote:
> - Is there some reason CMake adds the -qalias=noansi arg for XLC?

It was added here:

 Add initial XL C compiler flags for safer builds
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e1729238

but I don't recall why it was included among the other defaults
and the commit message doesn't say anything about it :(

> - Could it be removed in future versions for consistency with 
>   other compilers' C++ settings?

Yes, we can try dropping it:

 XL: Drop -qalias=noansi from default C flags
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a33fb493

Thanks,
-Brad



More information about the cmake-developers mailing list