Fixes for compatibility with new xcode 15 beta for any viewer branch after DRTVWR-577 (#232)

master
Brad Linden 2023-06-07 16:16:06 -07:00 committed by GitHub
parent 364516e8bc
commit 178fc5cbaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -171,6 +171,10 @@ if (DARWIN)
## Really?? On developer machines too?
##set(ENABLE_SIGNING TRUE)
##set(SIGNING_IDENTITY "Developer ID Application: Linden Research, Inc.")
# required for clang-15/xcode-15 since our boost package still uses deprecated std::unary_function/binary_function
# see https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#C++-Standard-Library
add_compile_definitions(_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION)
endif (DARWIN)
if (LINUX OR DARWIN)

View File

@ -84,7 +84,7 @@ LLViewerThrottleGroup::LLViewerThrottleGroup()
}
LLViewerThrottleGroup::LLViewerThrottleGroup(const F32 settings[])
LLViewerThrottleGroup::LLViewerThrottleGroup(const F32 settings[TC_EOF])
{
mThrottleTotal = 0.f;
S32 i;