Skip to content

ARMCC: Do not identify ARMClang as ARMCC

Brad King requested to merge brad.king/cmake:armcc-compiler-id into master

Since !3127 (merged) we consider ARMCC before Clang or GNU compilers. Since armclang also defines __ARMCC_VERSION it is now mistaken for ARMCC. Extend the check for ARMCC to also verify that __clang__ is not defined.

Issue: #19065 (closed)

Merge request reports