mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Silence warnings
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user