You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just patched this with CMake, I don't know make, so I'll leave the cmake patch here as an example. Note, I'm not sure if strength-reduce has been replaced with something else on the Clang side of the fence, this just blindly removes it.
I've noticed this change occurred (at least on the MacOS version of Clang) between XCode 8.2 and XCode 8.3
# CMAKE EXAMPLE ONLY - ADAPT TO MAKEIF(NOT CMAKE_CXX_COMPILER_ID MATCHES"Clang")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fstrength-reduce")
ENDIF()
cc: error: optimization flag '-fstrength-reduce' is not supported [-Werror,-Wignored-optimization-argument]
The text was updated successfully, but these errors were encountered: