mirror of
https://github.com/icaven/glm.git
synced 2025-12-07 17:26:50 +08:00
Fixes for compiler errors when building the tests using Clang 15,
including:
* Use explicit cast to silence Wimplicit-int-float-conversion
warning for conversion of spin count in implementation of
glm::slerp.
* Use GLM_FORCE_MESSAGES instead of removed GLM_MESSAGES for
messages in glm/gtx/hash.hpp, avoiding Wundef warning.
* Encode en dash in URL for Gram-Schmit Process wikipedia page and
replace similar en dashes in comments with regular dashes, to
avoid Winvalid-utf8 warnings in glm/gtx/matrix_factorisation.inl.
* Replace degree sign symbol with text "degrees" to avoid
Winvalid-utf8 warnings in test/gtc/gtc_quaternion.cpp.
* When using Clang, build tests with -Wno-float-equal to silence
Wfloat-equal warning in implementation of glm::vec<L,T,Q>::equal.
* For performance tests in test/gtx/gtx_fast_trigonometry.cpp, add
statement explicitly casting result to void, to silence
Wunused-but-set-variable warnings.
* Add newline at end of test/gtx/gtx_hash.cpp to silence
Wnewline-eof warning.
* Rename namespace _1aga to agarose in test/gtx/gtx_pca.cpp to
avoid Wreserved-identifier warning.
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| gtc_bitfield.cpp | ||
| gtc_color_space.cpp | ||
| gtc_constants.cpp | ||
| gtc_epsilon.cpp | ||
| gtc_integer.cpp | ||
| gtc_matrix_access.cpp | ||
| gtc_matrix_integer.cpp | ||
| gtc_matrix_inverse.cpp | ||
| gtc_matrix_transform.cpp | ||
| gtc_noise.cpp | ||
| gtc_packing.cpp | ||
| gtc_quaternion.cpp | ||
| gtc_random.cpp | ||
| gtc_reciprocal.cpp | ||
| gtc_round.cpp | ||
| gtc_type_aligned.cpp | ||
| gtc_type_precision.cpp | ||
| gtc_type_ptr.cpp | ||
| gtc_ulp.cpp | ||
| gtc_user_defined_types.cpp | ||
| gtc_vec1.cpp | ||