AlertWindow shadows warning


Building last tip i get this warning now.

In file included from /Users/nicolas/Work/Grenadine/Projects/Tralala/Builds/MacOSX/../../../../../JUCE/modules/juce_gui_basics/juce_gui_basics.cpp:245,
                 from /Users/nicolas/Work/Grenadine/Projects/Tralala/Builds/MacOSX/../../../../../JUCE/modules/juce_gui_basics/
/Users/nicolas/Work/Grenadine/Projects/Tralala/Builds/MacOSX/../../../../../JUCE/modules/juce_gui_basics/windows/juce_AlertWindow.cpp: In member function 'void juce::AlertWindow::updateLayout(bool)':
/Users/nicolas/Work/Grenadine/Projects/Tralala/Builds/MacOSX/../../../../../JUCE/modules/juce_gui_basics/windows/juce_AlertWindow.cpp:346: warning: declaration of 'lookAndFeel' shadows a member of 'this'

Probably due to the “lookAndFeel” member in Component.

* bump *

Joshua has been working on fixing these new VC2015 warnings.. Will be pushed very soon, I'm sure!

Ok thanks. I get that one with Xcode 3.2 also ;-)

I've been fixing some similar issues with VS 2015, I'll get on this too!


I just fired up Xcode, and didn't get the warnings you described. Do you have any relevant application specific code?

And as always...make sure you're on the tip ;)

Fabian has reproduces this, I'll pass the issue over to him.

This should be fixed now on the tip! Thanks for letting us know.

Yes. It works fine now (at least with my compiler).