Trying to get an RTAS build on the Mac, I encountered this strange error:
MyHeader.h:120: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
note: candidate 1: juce::String juce::operator+(juce::String, const char*)
note: candidate 2: operator+(int, char*) <built-in>
It is the only error left in the project. It occurs 240 times, always complaining this ambiguity between a built-in “+” operator and the juce::String “+” operator. This does not happen with any of my other projects, so I wonder where the bad side-effect might be hidden, or if I overlooked some compiler option that could fix this.