warning meaning

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
User avatar
kishorsoni
In need of some credit
In need of some credit
Posts: 3
Joined: Sun Mar 29, 2020 9:20 am

warning meaning

Post by kishorsoni » Sun Mar 29, 2020 9:31 am

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

catalin
Moderator
Moderator
Posts: 1575
Joined: Wed Nov 12, 2008 7:23 am
Location: Romania

Re: warning meaning

Post by catalin » Sun Mar 29, 2020 9:43 am

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?

User avatar
kishorsoni
In need of some credit
In need of some credit
Posts: 3
Joined: Sun Mar 29, 2020 9:20 am

Re: warning meaning

Post by kishorsoni » Sun Mar 29, 2020 7:29 pm

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

User avatar
doublemax
Moderator
Moderator
Posts: 14952
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: warning meaning

Post by doublemax » Sun Mar 29, 2020 8:18 pm

Which platform, compiler, wxWidgets version?
Use the source, Luke!

User avatar
kishorsoni
In need of some credit
In need of some credit
Posts: 3
Joined: Sun Mar 29, 2020 9:20 am

Re: warning meaning

Post by kishorsoni » Mon Mar 30, 2020 6:22 pm

Core2duo laptop with 4 gb ram,
win7 32 bit
Code blocks 17.12
wxwidgets 3.0.4

stahta01
Super wx Problem Solver
Super wx Problem Solver
Posts: 365
Joined: Fri Nov 03, 2006 2:00 pm

Re: warning meaning

Post by stahta01 » Mon Mar 30, 2020 8:43 pm

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.

Post Reply