917# error "GLM error: A different version of GLM is already included. Define GLM_FORCE_IGNORE_VERSION before including GLM headers to ignore this error."
1065# pragma message("GLM: platform not detected")
1066# endif
1067
1068// Report whether only xyzw component are used
1069# if defined GLM_FORCE_XYZW_ONLY
1070# pragma message("GLM: GLM_FORCE_XYZW_ONLY is defined. Only x, y, z and w component are available in vector type. This define disables swizzle operators and SIMD instruction sets.")
1071# endif
1072
1073// Report swizzle operator support
1074# if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
1075# pragma message("GLM: GLM_FORCE_SWIZZLE is defined, swizzling operators enabled.")
1077# pragma message("GLM: GLM_FORCE_SWIZZLE is defined, swizzling functions enabled. Enable compiler C++ language extensions to enable swizzle operators.")
1078# else
1079# pragma message("GLM: GLM_FORCE_SWIZZLE is undefined. swizzling functions or operators are disabled.")
1080# endif
1081
1082// Report .length() type
1083# if GLM_CONFIG_LENGTH_TYPE == GLM_LENGTH_SIZE_T
1084# pragma message("GLM: GLM_FORCE_SIZE_T_LENGTH is defined. .length() returns a glm::length_t, a typedef of std::size_t.")
1085# else
1086# pragma message("GLM: GLM_FORCE_SIZE_T_LENGTH is undefined. .length() returns a glm::length_t, a typedef of int following GLSL.")
1087# endif
1088
1089# if GLM_CONFIG_UNRESTRICTED_GENTYPE == GLM_ENABLE
1090# pragma message("GLM: GLM_FORCE_UNRESTRICTED_GENTYPE is defined. Removes GLSL restrictions on valid function genTypes.")
1091# else
1092# pragma message("GLM: GLM_FORCE_UNRESTRICTED_GENTYPE is undefined. Follows strictly GLSL on valid function genTypes.")
1093# endif
1094
1095# if GLM_SILENT_WARNINGS == GLM_ENABLE
1096# pragma message("GLM: GLM_FORCE_SILENT_WARNINGS is defined. Ignores C++ warnings from using C++ language extensions.")
1097# else
1098# pragma message("GLM: GLM_FORCE_SILENT_WARNINGS is undefined. Shows C++ warnings from using C++ language extensions.")
1099# endif
1100
1101# ifdef GLM_FORCE_SINGLE_ONLY
1102# pragma message("GLM: GLM_FORCE_SINGLE_ONLY is defined. Using only single precision floating-point types.")
1103# endif
1104
1105# if defined(GLM_FORCE_ALIGNED_GENTYPES) && (GLM_CONFIG_ALIGNED_GENTYPES == GLM_ENABLE)
1106# undef GLM_FORCE_ALIGNED_GENTYPES
1107# pragma message("GLM: GLM_FORCE_ALIGNED_GENTYPES is defined, allowing aligned types. This prevents the use of C++ constexpr.")