mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Disabled warnings
This commit is contained in:
parent
36c196b195
commit
ec79dbdbef
@ -90,7 +90,7 @@ endif()
|
||||
|
||||
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
add_definitions(-Weverything -Wpedantic -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-c++11-long-long -Wno-padded -Wno-documentation -Wno-gnu-anonymous-struct -Wno-nested-anon-types)
|
||||
add_definitions(-Wno-sign-conversion -Wno-unused-variable -Wno-missing-prototypes -Wno-unreachable-code -Wno-missing-variable-declarations -Wno-sign-compare -Wno-global-constructors -Wno-unused-macros)
|
||||
add_definitions(-Wno-sign-conversion -Wno-unused-variable -Wno-missing-prototypes -Wno-unreachable-code -Wno-missing-variable-declarations -Wno-sign-compare -Wno-global-constructors -Wno-unused-macros -Wno-format-nonliteral)
|
||||
endif()
|
||||
|
||||
option(GLM_TEST_ENABLE_LANG_EXTENSIONS "Enable language extensions" OFF)
|
||||
|
@ -478,7 +478,7 @@ namespace glm
|
||||
GLM_FUNC_QUALIFIER vec<1, T, P> operator<<(vec<1, T, P> const & v, T scalar)
|
||||
{
|
||||
return vec<1, T, P>(
|
||||
v.x << scalar);
|
||||
static_cast<T>(v.x << scalar));
|
||||
}
|
||||
|
||||
template<typename T, precision P>
|
||||
|
Loading…
Reference in New Issue
Block a user