AlertWindow shadows warning


#1

Hi,

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/juce_gui_basics.mm:25:
/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.


#2

* bump *


#3

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


#4

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


#5

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


#6

Hello,

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 ;)


#7

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


#8

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


#9

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