diff options
author | Rye Mutt <rye@alchemyviewer.org> | 2024-08-14 11:01:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-14 08:01:02 -0700 |
commit | b5e306f7d89e82984a37824a3640bd67a5c45d61 (patch) | |
tree | a855c4f66ddf54c13f7ac2288606cb59d5dc3eac /indra/llmath | |
parent | 31774e82c4c9ba2c1243fbc417174e966314dfca (diff) |
Enable /permissive- on MSVC for better standards conformance (#2251)
* Enable /permissive- on MSVC for better C++ conformance and fix related errors
* Clean up left over warning suppressions from old library or msvc versions
Diffstat (limited to 'indra/llmath')
-rw-r--r-- | indra/llmath/llsimdtypes.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/indra/llmath/llsimdtypes.h b/indra/llmath/llsimdtypes.h index 11462170fb..a407f51029 100644 --- a/indra/llmath/llsimdtypes.h +++ b/indra/llmath/llsimdtypes.h @@ -33,20 +33,6 @@ typedef __m128 LLQuad; - -#if LL_WINDOWS -#pragma warning(push) -#pragma warning( disable : 4800 3 ) // Disable warning about casting int to bool for this class. -#if defined(_MSC_VER) && (_MSC_VER < 1500) -// VC++ 2005 is missing these intrinsics -// __forceinline is MSVC specific and attempts to override compiler inlining judgment. This is so -// even in debug builds this call is a NOP. -__forceinline const __m128 _mm_castsi128_ps( const __m128i a ) { return reinterpret_cast<const __m128&>(a); } -__forceinline const __m128i _mm_castps_si128( const __m128 a ) { return reinterpret_cast<const __m128i&>(a); } -#endif // _MSC_VER - -#endif // LL_WINDOWS - class LLBool32 { public: @@ -63,10 +49,6 @@ private: int m_bool{ 0 }; }; -#if LL_WINDOWS -#pragma warning(pop) -#endif - class LLSimdScalar { public: |