From 967c91e7778f571cd2f9fc9bc5f3e3c63b9c27da Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 7 Dec 2015 18:53:55 -0800 Subject: Make it an #error if we failed to detect the ARM architecture version ... or if it is less than ARMv5. The last ARMv4 Qt supported was Windows CE 7, which was dropped for Qt 5.7 alongside MSVC 2008. Change-Id: Ifc817705441a4aab9469ffff141dcfe491464efa Reviewed-by: Maurice Kalinowski --- src/corelib/global/qprocessordetection.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/corelib/global/qprocessordetection.h b/src/corelib/global/qprocessordetection.h index 8c1e041a17..ee94720e7a 100644 --- a/src/corelib/global/qprocessordetection.h +++ b/src/corelib/global/qprocessordetection.h @@ -141,6 +141,8 @@ # endif # if Q_PROCESSOR_ARM >= 5 # define Q_PROCESSOR_ARM_V5 +# else +# error "ARM architecture too old" # endif # if defined(__ARMEL__) # define Q_BYTE_ORDER Q_LITTLE_ENDIAN -- cgit v1.2.3