diff --git a/client/TracyCallstack.cpp b/client/TracyCallstack.cpp index c76b24e3..6eebdd49 100644 --- a/client/TracyCallstack.cpp +++ b/client/TracyCallstack.cpp @@ -340,7 +340,7 @@ CallstackSymbolData DecodeSymbolAddress( uint64_t ptr ) CallstackSymbolData DecodeCodeAddress( uint64_t ptr ) { - CallstackSymbolData sym; + CallstackSymbolData sym = {}; const auto proc = GetCurrentProcess(); bool done = false; diff --git a/client/tracy_SPSCQueue.h b/client/tracy_SPSCQueue.h index 9fe305f1..556c9b84 100644 --- a/client/tracy_SPSCQueue.h +++ b/client/tracy_SPSCQueue.h @@ -30,6 +30,11 @@ SOFTWARE. #include "../common/TracyAlloc.hpp" +#if defined (_MSC_VER) +#pragma warning(push) +#pragma warning(disable:4324) +#endif + namespace tracy { template class SPSCQueue { @@ -134,3 +139,7 @@ private: char padding_[kCacheLineSize - sizeof(writeIdxCache_)]; }; } // namespace rigtorp + +#if defined (_MSC_VER) +#pragma warning(pop) +#endif