XL: Fix the use of -qhalt flag
The valid options to pass to the IBM XL compiler for the -qhalt option vary widely by language and platform. Based on existing documentation, the following table shows which error levels are valid to pass to the qhalt options:
OS | xlc | xlC | xlf |
---------|-------|------------------
AIX | iwes | iw s | ilwesu |
BlueGene | iwes | iwes | ilwesu |
OS X | iwesu | iwesu | ilwesu |
Linux | w | w | ilwesu |
You can see the warnings reductions here by using this patch to drive a CMake Experimental build: