diff --git a/tycho/cc/tycho.h b/tycho/cc/tycho.h index 4c413d4..1013f91 100644 --- a/tycho/cc/tycho.h +++ b/tycho/cc/tycho.h @@ -155,6 +155,11 @@ private: ProjectView *const view; }; +// Functions -----------------------------------------------------------------| + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wformat-security" + template static inline void dbgPrint([[maybe_unused]] char const *fmt, [[maybe_unused]] VA &&...va) @@ -164,6 +169,8 @@ static inline void dbgPrint([[maybe_unused]] char const *fmt, #endif } +#pragma clang diagnostic pop + #define dbgPrintFunc() dbgPrint("%s", __func__) constexpr std::uint32_t fourCC(std::byte a, std::byte b, std::byte c, std::byte d)