Closed furby-tm closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 81.71%. Comparing base (
c0e97b0
) to head (69144f2
). Report is 21 commits behind head on main.
If the team prefers to remove the cxxabi demangling, I can update this PR to deprecate it instead. Please feel free to ping me in this issue once the team has reached a consensus.
From some offline discussion, it seems there is no objection to removing the demangling. @furby-tm we would gladly accept this PR as-is, or with the demangling removed. Please let us know which you'd like.
I'll go ahead and remove the demangling @jminor
Closing in favor of https://github.com/AcademySoftwareFoundation/OpenTimelineIO/pull/1800
Summarize your change.
This fixes the clang compilation of OpenTimelineIO on Microsoft Windows, when compiling with Swift. Previously, the
cxxabi.h
header was erroneously getting included in the Windows clang compilation of OpenTimelineIO'sstringUtils.cpp
file because it was being conditionally compiled for clang across all platforms, and this header does not exist on the Windows platform.cxxabi.h
is now guarded via__has_include(<cxxabi.h>)
.OTIO_HAVE_DEMANGLER
is set to1
ifcxxabi.h
exists, and0
if this header does not exist.defined(__GNUC__) || defined(__clang__)
are replaced with conditional compilation checks against the newOTIO_HAVE_DEMANGLER
preprocessor define.