diff --git a/sources/SIMDSSE.cpp b/sources/SIMDSSE.cpp index aed75759..0180eecb 100644 --- a/sources/SIMDSSE.cpp +++ b/sources/SIMDSSE.cpp @@ -3,11 +3,11 @@ #include "x86intrin.h" #include "mathfuns/sse_mathfun.h" -constexpr uintptr_t TypeAlignment { 4 }; -constexpr uintptr_t TypeAlignmentMask { TypeAlignment - 1 }; using Type = float; -constexpr uintptr_t ByteAlignment { TypeAlignment * sizeof(Type) }; -constexpr uintptr_t ByteAlignmentMask { ByteAlignment - 1 }; +[[maybe_unused]] constexpr uintptr_t TypeAlignment { 4 }; +[[maybe_unused]] constexpr uintptr_t TypeAlignmentMask { TypeAlignment - 1 } ; +[[maybe_unused]] constexpr uintptr_t ByteAlignment { TypeAlignment * sizeof(Type) }; +[[maybe_unused]] constexpr uintptr_t ByteAlignmentMask { ByteAlignment - 1 }; struct AlignmentSentinels { float* nextAligned; float* lastAligned; };