From 8e8fb810623555be93efcc2ddf83df86b6682836 Mon Sep 17 00:00:00 2001 From: Xiaoqiang Wang Date: Sat, 13 May 2023 21:34:55 +0200 Subject: [PATCH] explicit include SAL header to help clang-cl compiler --- modules/libcom/src/osi/compiler/msvc/compilerSpecific.h | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/libcom/src/osi/compiler/msvc/compilerSpecific.h b/modules/libcom/src/osi/compiler/msvc/compilerSpecific.h index 631da4f38..3566de6fc 100644 --- a/modules/libcom/src/osi/compiler/msvc/compilerSpecific.h +++ b/modules/libcom/src/osi/compiler/msvc/compilerSpecific.h @@ -48,6 +48,7 @@ * Enable format-string checking if compiler supports it (if msvc is 2015 or newer) */ #if _MSC_VER >= 1900 +# include # define EPICS_PRINTF_FMT(a) _Printf_format_string_ a #endif