mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-31 03:07:36 +02:00
Extra flag to prevent Intel compiler with Clang front-end warning of 'unknown attribute no_sanitize'
This commit is contained in:
committed by
Victor Zverovich
parent
0fb8ef8f79
commit
f7151d384b
@ -369,7 +369,7 @@ template <typename T> inline T* make_checked(T* p, size_t) { return p; }
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
template <typename Container, FMT_ENABLE_IF(is_contiguous<Container>::value)>
|
template <typename Container, FMT_ENABLE_IF(is_contiguous<Container>::value)>
|
||||||
#if FMT_CLANG_VERSION >= 307
|
#if FMT_CLANG_VERSION >= 307 && !FMT_ICC_VERSION
|
||||||
__attribute__((no_sanitize("undefined")))
|
__attribute__((no_sanitize("undefined")))
|
||||||
#endif
|
#endif
|
||||||
inline checked_ptr<typename Container::value_type>
|
inline checked_ptr<typename Container::value_type>
|
||||||
|
Reference in New Issue
Block a user