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
Since Clang changes
llvm/llvm-project#84050 and
llvm/llvm-project#90152 (upcoming in
Clang 19.x), Clang will diagnose member accesses before instantiating
C++ templates.
Within the optional_container_property template, this causes errors
for the calls to this->Copy() and this->clear(), as there are no
corresponding methods within that template class, errors like these:
asdcplib/src/MXF.h:276:12: error: no member named 'Copy' in 'optional_container_property<PropertyType>'
276 | this->Copy(rhs.m_property);
| ~~~~ ^
asdcplib/src/MXF.h:284:48: error: no member named 'clear' in 'optional_container_property<PropertyType>'
284 | void reset(const PropertyType& rhs) { this->clear(); }
| ~~~~ ^
This template is unused, and these faulty calls have been present
since the class was added in 0291582.
Simply remove the unused template class, to avoid these compiler
errors.
This fixescinecert#136.
0 commit comments