SPEC-2513 Fixes to enable w4324 (#1197)
* Fix warning 4324 * warning that doesnt trigger anything * missed warning
This commit is contained in:
@@ -180,10 +180,7 @@ namespace AzNetworking
|
||||
//! Takes a quantized integral value and stores the floating point representation.
|
||||
void DecodeQuantizedValues();
|
||||
|
||||
# if defined AZ_COMPILER_MSVC
|
||||
# pragma warning(push)
|
||||
# pragma warning(disable:4201) // anonymous union
|
||||
# endif
|
||||
AZ_PUSH_DISABLE_WARNING(4201 4324, "-Wunknown-warning-option") // anonymous union, structure was padded due to alignment
|
||||
union
|
||||
{
|
||||
float m_quantizedValues[NUM_ELEMENTS];
|
||||
@@ -195,9 +192,7 @@ namespace AzNetworking
|
||||
uint32_t m_serializeValues[NUM_ELEMENTS];
|
||||
SimdTypei m_serializeVector;
|
||||
};
|
||||
# if defined AZ_COMPILER_MSVC
|
||||
# pragma warning(pop)
|
||||
# endif
|
||||
AZ_POP_DISABLE_WARNING
|
||||
|
||||
template <AZStd::size_t NUM_ELEMENTS2, AZStd::size_t NUM_BYTES2, int32_t MIN_VALUE2, int32_t MAX_VALUE2>
|
||||
friend struct QuantizedValuesConversionHelper;
|
||||
|
||||
Reference in New Issue
Block a user