Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Suppress MSVC warning about meaningless function type qualifier in generic code

Commit
8c39f9a725b527c8b5d04317dea92a58ae6d9c25
Author
Phil Nash ·
Parents
4e5a67bc4457

Files · Download .tar.gz

Changes

 include/internal/catch_decomposer.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/internal/catch_decomposer.h b/include/internal/catch_decomposer.h
index 48f87f60..5d4bb0d1 100644
--- a/include/internal/catch_decomposer.h
+++ b/include/internal/catch_decomposer.h
@@ -18,6 +18,7 @@
 #pragma warning(disable:4389) // '==' : signed/unsigned mismatch
 #pragma warning(disable:4018) // more "signed/unsigned mismatch"
 #pragma warning(disable:4312) // Converting int to T* using reinterpret_cast (issue on x64 platform)
+#pragma warning(disable:4180) // qualifier applied to function type has no meaning
 #endif
 
 namespace Catch {