1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-23 03:02:53 +01:00

Merge pull request #1253 from danilaml/patch-1

Fix clang compiling
This commit is contained in:
DHrpcs3 2015-10-14 00:19:47 +03:00
commit 6d99516489
2 changed files with 3 additions and 2 deletions

View File

@ -94,7 +94,7 @@ public:
value(convert::to<T>(new_value));
}
void value_from(const entry_base* rhs)
void value_from(const entry_base* rhs) override
{
value(static_cast<const entry*>(rhs)->value());
}

View File

@ -19,6 +19,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
# Warnings
add_compile_options(-Wno-attributes -Wno-enum-compare -Wno-invalid-offsetof)
elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
add_compile_options(-ftemplate-depth=1024)
if(APPLE)
add_compile_options(-stdlib=libc++)
endif()