Class name conflict on Mac OS X


I have a class name conflict when building the mac version. The class “Palette” is conflicting with a struct called “Palette” in the QuickDraw library under Mac OS X.

In order to build the nightly build I always refactor the code to call the class “PencilPalette”, build, and then cancel my changes.

This is not a good thing to do so I see 2 solutions :

  1. Is there a way to make the build ignore the QuickDraw library? (but it may require it)

  2. We refactor the class to change its name to something like PencilPalette.

What do you think? Has anyone had this problem on Mac OS X?

Hi, @feeef

I’ve renamed the class Palette, please check the latest source code. :slight_smile:

Thank you so much @chchwy ! :slight_smile: