Is Point still broken? - reference to Point is ambiguous

I’ve followed all the posts regarding this issue, and now running from the latest develop commit of Juce rather than from master.
I am still getting the same error trying to declare anything as a Point. I have tried moving the juce header to be the last included, but still no luck.
Using Xcode 11.31 (as I heard it was definitely broken on the latest one).

Cheers,
Steve

This probably means you’ve pulled in a macOS system header yourself somewhere. You’ll need to prefix your points with juce:: or do something like this:

#ifdef __APPLE__
 #define Point CarbonDummyPointName
 #import <Foundation/Foundation.h>
 #undef Point
#endif
2 Likes