Skip to content

Commit

Permalink
Fixes for compatibility with new xcode 15 beta for any viewer branch …
Browse files Browse the repository at this point in the history
…after DRTVWR-577 (secondlife#232)
  • Loading branch information
brad-linden authored and marchcat committed Jul 18, 2023
1 parent bc3f2d5 commit 71e7c7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions indra/cmake/00-Common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion indra/newview/llviewerthrottle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ LLViewerThrottleGroup::LLViewerThrottleGroup()
}


LLViewerThrottleGroup::LLViewerThrottleGroup(const F32 settings[])
LLViewerThrottleGroup::LLViewerThrottleGroup(const F32 settings[TC_EOF])
{
mThrottleTotal = 0.f;
S32 i;
Expand Down

0 comments on commit 71e7c7c

Please sign in to comment.