Silence warnings

This commit is contained in:
Paul Hollinsky
2018-09-18 17:01:37 -04:00
parent b254ac991d
commit 315be76034
2 changed files with 10 additions and 3 deletions
+6
View File
@@ -30,6 +30,10 @@
#pragma once
#pragma warning(push)
#pragma warning(disable:4127) // ICS: Warnings generated by this file
#pragma warning(disable:4706)
#if defined(__GNUC__)
// Disable -Wconversion warnings (spuriously triggered when Traits::size_t and
// Traits::index_t are set to < 32 bits, causing integer promotion, causing warnings
@@ -3633,3 +3637,5 @@ inline void swap(typename ConcurrentQueue<T, Traits>::ImplicitProducerKVP& a, ty
#if defined(__GNUC__)
#pragma GCC diagnostic pop
#endif
#pragma warning(pop)