I recently got the latest tip, and every file that includes juce_amalgamated.h give me the aforementioned warning. I like to minimize the number of warnings I get so I can spot real problems, so I wanted to get rid of it. I was surprised that I couldn’t find this mentioned anywhere - am I being overly picky? Or is there something screwy with my setup?
Anyway, I am not sure if the assignment operator is every actually needed for this class, but in case it is I implemented the following simple workaround:
add this to Drawable::RenderingContext
const RenderingContext& operator= (const RenderingContext & other)
g = other.g;
transform = other.transform;
opacity = other.opacity;
I also needed to make the Graphics assignment operator from public…which was not ideal but I don’t think there’s a clean way to make a nested class a friend given that it’s a forward reference.