From 14d67d87bd374c66aff9dfd670477e39ae4739a6 Mon Sep 17 00:00:00 2001 From: ado Date: Tue, 23 Feb 2021 21:05:04 +0100 Subject: [PATCH] try fix vs16 ci --- include/ss/extract.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/ss/extract.hpp b/include/ss/extract.hpp index d4170c0..13e4ccb 100644 --- a/include/ss/extract.hpp +++ b/include/ss/extract.hpp @@ -170,6 +170,9 @@ bool shift_and_add_overflow(T& value, T digit, F add_last_digit_owerflow) { #else #ifndef SS_NO_WARNINGS +#ifdef _WIN32 +#pragma warning("Use clang or gcc if possible for performance reasons. Define SS_NO_WARNINGS to supress warning.") +#else #warning "Use clang or gcc if possible for performance reasons. Define SS_NO_WARNINGS to supress warning." #endif template