From 42604fc794b6f26b60db953a230b52c1118d3039 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Tue, 13 Jun 2023 08:22:17 -0700 Subject: [PATCH] Allow clang with GCC compilerSpecific.h Makes it easier to run clang derivative analysis tools on builds configured for GCC. --- modules/libcom/src/osi/compiler/gcc/compilerSpecific.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/libcom/src/osi/compiler/gcc/compilerSpecific.h b/modules/libcom/src/osi/compiler/gcc/compilerSpecific.h index 6e98f4d17..d56d32212 100644 --- a/modules/libcom/src/osi/compiler/gcc/compilerSpecific.h +++ b/modules/libcom/src/osi/compiler/gcc/compilerSpecific.h @@ -21,10 +21,6 @@ # error compiler/gcc/compilerSpecific.h is only for use with the gnu compiler #endif -#ifdef __clang__ -# error compiler/gcc/compilerSpecific.h is not for use with the clang compiler -#endif - #define EPICS_ALWAYS_INLINE __inline__ __attribute__((always_inline)) /* Expands to a 'const char*' which describes the name of the current function scope */