Page 1 of 1

warning meaning

Posted: Sun Mar 29, 2020 9:31 am
by kishorsoni
Pl. anyone tell me whats the meaning of this warning and how to solve ?

warning: 'virtual bool wxEvtHandler::TryValidator(wxEvent&)' is deprecated [-Wdeprecated-declarations]|

Thanks

Re: warning meaning

Posted: Sun Mar 29, 2020 9:43 am
by catalin
It means that the function was deprecated and should not be used in new code. Usually there is at least an alternative to deprecated API. Do you call that function anywhere in your code or how did you get the warning?

Re: warning meaning

Posted: Sun Mar 29, 2020 7:29 pm
by kishorsoni
no, nothing,
I have just create a new project, create a frame and put only 7 radio button.
then I build it
as a result I get this warning.
total count of warning is 177

Re: warning meaning

Posted: Sun Mar 29, 2020 8:18 pm
by doublemax
Which platform, compiler, wxWidgets version?

Re: warning meaning

Posted: Mon Mar 30, 2020 6:22 pm
by kishorsoni
Core2duo laptop with 4 gb ram,
win7 32 bit
Code blocks 17.12
wxwidgets 3.0.4

Re: warning meaning

Posted: Mon Mar 30, 2020 8:43 pm
by stahta01
kishorsoni wrote:
Mon Mar 30, 2020 6:22 pm
Core2duo laptop with 4 gb ram,
win7 32 bit
Code blocks 17.12
wxwidgets 3.0.4
Code::Blocks is an IDE/Editor it is not a Compiler!

Tim S.