Compiling juce_PathIterator.cpp
with LLVM-Clang v10.0 under -std=c++20
triggers semantic error:
juce_PathIterator.cpp:75:22: error: use of overloaded operator '==' is ambiguous (with operand types 'float *' and 'HeapBlock<float>')`
if (stackPos == stackBase)
~~~~~~~~ ^ ~~~~~~~~~
juce_PathIterator.cpp:140:38: error: use of overloaded operator '==' is ambiguous (with operand types 'float *' and 'HeapBlock<float>')
closesSubPath = stackPos == stackBase
~~~~~~~~ ^ ~~~~~~~~~
Using getter like 57: stackPos == stackBase.get()
seems to be a fix.