Steve Cookson
2014-06-06 11:05:26 UTC
Hi Guys,
I have recently been getting a lot of compiler warnings and notes every
time I install many things, including wxWidgets. I have recently
upgraded to Kubuntu 14.04 LTS and it been around for at least one
release that. An example follows at the end of this email. I imagine
that the compiler has been upgrade and is now more stringent about some
check, or indeed, I suppose it could indicate a compiler installation
problem.
Do you have a view?
Regards,
Steve.
may be a function
en/wxWidgets/gtk_3_0_0_uni/include/wx-3.0/wx/log.h:628)
[-Wdeprecated-declarations]
BASE::METHOD( p1, p2 ); \
^
cpp/log.h:64:1: note: in expansion of macro
'DEF_V_CBACK_VOID__CWXCHARP_TIMET'
DEF_V_CBACK_VOID__CWXCHARP_TIMET( wxPlLogPassThrough, wxLogPassThrough,
^
cpp/log.h: In member function 'virtual void
wxPlLogPassThrough::DoLog(wxLogLevel, const wxChar*, time_t)':
cpp/v_cback.h:251:30: warning: 'virtual void wxLog::DoLog(wxLogLevel,
const wchar_t*, time_t)' is deprecated (declared at
/usr/local/lib/perl/5.18.2/Alien/wxWidgets/gtk_3_0_0_uni/include/wx-3.0/wx/log.h:617)
[-Wdeprecated-declarations]
BASE::METHOD( p1, p2, p3 ); \
^
cpp/log.h:66:1: note: in expansion of macro
'DEF_V_CBACK_VOID__WXLOGLEVEL_CWXCHARP_TIMET'
DEF_V_CBACK_VOID__WXLOGLEVEL_CWXCHARP_TIMET( wxPlLogPassThrough,
^
Wx.c: In function 'void XS_Wx__Log_SetTraceMask(PerlInterpreter*, CV*)':
Wx.c:7063:31: warning: 'static void wxLog::SetTraceMask(wxTraceMask)' is
deprecated (declared at
/usr/local/lib/perl/5.18.2/Alien/wxWidgets/gtk_3_0_0_uni/include/wx-3.0/wx/log.h:576)
[-Wdeprecated-declarations]
wxLog::SetTraceMask( mask );
^
Wx.c: In function 'void XS_Wx__MenuBar_GetLabelTop(PerlInterpreter*, CV*)':
Wx.c:9583:31: warning: 'wxString wxMenuBarBase::GetLabelTop(size_t)
const' is deprecated (declared at
/usr/local/lib/perl/5.18.2/Alien/wxWidgets/gtk_3_0_0_uni/include/wx-3.0/wx/menu.h:555)
[-Wdeprecated-declarations]
RETVAL = THIS->GetLabelTop(id);
^
Wx.c: In function 'void XS_Wx__MenuBar_SetLabelTop(PerlInterpreter*, CV*)':
Wx.c:9871:30: warning: 'void wxMenuBarBase::SetLabelTop(size_t, const
wxString&)' is deprecated (declared at
/usr/local/lib/perl/5.18.2/Alien/wxWidgets/gtk_3_0_0_uni/include/wx-3.0/wx/menu.h:553)
[-Wdeprecated-declarations]
THIS->SetLabelTop(pos, label);
^
Wx.c: In function 'void XS_Wx__MenuItem_GetLabel(PerlInterpreter*, CV*)':
Wx.c:10295:26: warning: 'wxString wxMenuItemBase::GetLabel() const' is
deprecated (declared at
/usr/local/lib/perl/5.18.2/Alien/wxWidgets/gtk_3_0_0_uni/include/wx-3.0/wx/menuitem.h:182)
[-Wdeprecated-declarations]
RETVAL = THIS->GetLabel();
^
Wx.c: In function 'void
XS_Wx__MenuItem_GetLabelFromText(PerlInterpreter*, CV*)':
Wx.c:10315:49: warning: 'static wxString
wxMenuItemBase::GetLabelFromText(const wxString&)' is deprecated
(declared at
/usr/local/lib/perl/5.18.2/Alien/wxWidgets/gtk_3_0_0_uni/include/wx-3.0/wx/menuitem.h:135)
[-Wdeprecated-declarations]
RETVAL = wxMenuItem::GetLabelFromText( text );
^
Wx.c: In function 'void XS_Wx__MenuItem_GetText(PerlInterpreter*, CV*)':
Wx.c:10442:25: warning: 'const wxString& wxMenuItemBase::GetText()
const' is deprecated (declared at
/usr/local/lib/perl/5.18.2/Alien/wxWidgets/gtk_3_0_0_uni/include/wx-3.0/wx/menuitem.h:184)
[-Wdeprecated-declarations]
RETVAL = THIS->GetText();
^
Wx.c: In function 'void XS_Wx__MenuItem_SetText(PerlInterpreter*, CV*)':
Wx.c:10694:20: warning: 'virtual void wxMenuItemBase::SetText(const
wxString&)' is deprecated (declared at
/usr/local/lib/perl/5.18.2/Alien/wxWidgets/gtk_3_0_0_uni/include/wx-3.0/wx/menuitem.h:185)
[-Wdeprecated-declarations]
THIS->SetText(text);
^
Wx.c: In function 'void XS_Wx__Variant_GetList(PerlInterpreter*, CV*)':
Wx.c:19440:35: warning: 'wxListBase::operator wxList&() const' is
deprecated (declared at
/usr/local/lib/perl/5.18.2/Alien/wxWidgets/gtk_3_0_0_uni/include/wx-3.0/wx/list.h:1184)
[-Wdeprecated-declarations]
wxPli_objlist_push( aTHX_ lst );
I have recently been getting a lot of compiler warnings and notes every
time I install many things, including wxWidgets. I have recently
upgraded to Kubuntu 14.04 LTS and it been around for at least one
release that. An example follows at the end of this email. I imagine
that the compiler has been upgrade and is now more stringent about some
check, or indeed, I suppose it could indicate a compiler installation
problem.
Do you have a view?
Regards,
Steve.
may be a function
en/wxWidgets/gtk_3_0_0_uni/include/wx-3.0/wx/log.h:628)
[-Wdeprecated-declarations]
BASE::METHOD( p1, p2 ); \
^
cpp/log.h:64:1: note: in expansion of macro
'DEF_V_CBACK_VOID__CWXCHARP_TIMET'
DEF_V_CBACK_VOID__CWXCHARP_TIMET( wxPlLogPassThrough, wxLogPassThrough,
^
cpp/log.h: In member function 'virtual void
wxPlLogPassThrough::DoLog(wxLogLevel, const wxChar*, time_t)':
cpp/v_cback.h:251:30: warning: 'virtual void wxLog::DoLog(wxLogLevel,
const wchar_t*, time_t)' is deprecated (declared at
/usr/local/lib/perl/5.18.2/Alien/wxWidgets/gtk_3_0_0_uni/include/wx-3.0/wx/log.h:617)
[-Wdeprecated-declarations]
BASE::METHOD( p1, p2, p3 ); \
^
cpp/log.h:66:1: note: in expansion of macro
'DEF_V_CBACK_VOID__WXLOGLEVEL_CWXCHARP_TIMET'
DEF_V_CBACK_VOID__WXLOGLEVEL_CWXCHARP_TIMET( wxPlLogPassThrough,
^
Wx.c: In function 'void XS_Wx__Log_SetTraceMask(PerlInterpreter*, CV*)':
Wx.c:7063:31: warning: 'static void wxLog::SetTraceMask(wxTraceMask)' is
deprecated (declared at
/usr/local/lib/perl/5.18.2/Alien/wxWidgets/gtk_3_0_0_uni/include/wx-3.0/wx/log.h:576)
[-Wdeprecated-declarations]
wxLog::SetTraceMask( mask );
^
Wx.c: In function 'void XS_Wx__MenuBar_GetLabelTop(PerlInterpreter*, CV*)':
Wx.c:9583:31: warning: 'wxString wxMenuBarBase::GetLabelTop(size_t)
const' is deprecated (declared at
/usr/local/lib/perl/5.18.2/Alien/wxWidgets/gtk_3_0_0_uni/include/wx-3.0/wx/menu.h:555)
[-Wdeprecated-declarations]
RETVAL = THIS->GetLabelTop(id);
^
Wx.c: In function 'void XS_Wx__MenuBar_SetLabelTop(PerlInterpreter*, CV*)':
Wx.c:9871:30: warning: 'void wxMenuBarBase::SetLabelTop(size_t, const
wxString&)' is deprecated (declared at
/usr/local/lib/perl/5.18.2/Alien/wxWidgets/gtk_3_0_0_uni/include/wx-3.0/wx/menu.h:553)
[-Wdeprecated-declarations]
THIS->SetLabelTop(pos, label);
^
Wx.c: In function 'void XS_Wx__MenuItem_GetLabel(PerlInterpreter*, CV*)':
Wx.c:10295:26: warning: 'wxString wxMenuItemBase::GetLabel() const' is
deprecated (declared at
/usr/local/lib/perl/5.18.2/Alien/wxWidgets/gtk_3_0_0_uni/include/wx-3.0/wx/menuitem.h:182)
[-Wdeprecated-declarations]
RETVAL = THIS->GetLabel();
^
Wx.c: In function 'void
XS_Wx__MenuItem_GetLabelFromText(PerlInterpreter*, CV*)':
Wx.c:10315:49: warning: 'static wxString
wxMenuItemBase::GetLabelFromText(const wxString&)' is deprecated
(declared at
/usr/local/lib/perl/5.18.2/Alien/wxWidgets/gtk_3_0_0_uni/include/wx-3.0/wx/menuitem.h:135)
[-Wdeprecated-declarations]
RETVAL = wxMenuItem::GetLabelFromText( text );
^
Wx.c: In function 'void XS_Wx__MenuItem_GetText(PerlInterpreter*, CV*)':
Wx.c:10442:25: warning: 'const wxString& wxMenuItemBase::GetText()
const' is deprecated (declared at
/usr/local/lib/perl/5.18.2/Alien/wxWidgets/gtk_3_0_0_uni/include/wx-3.0/wx/menuitem.h:184)
[-Wdeprecated-declarations]
RETVAL = THIS->GetText();
^
Wx.c: In function 'void XS_Wx__MenuItem_SetText(PerlInterpreter*, CV*)':
Wx.c:10694:20: warning: 'virtual void wxMenuItemBase::SetText(const
wxString&)' is deprecated (declared at
/usr/local/lib/perl/5.18.2/Alien/wxWidgets/gtk_3_0_0_uni/include/wx-3.0/wx/menuitem.h:185)
[-Wdeprecated-declarations]
THIS->SetText(text);
^
Wx.c: In function 'void XS_Wx__Variant_GetList(PerlInterpreter*, CV*)':
Wx.c:19440:35: warning: 'wxListBase::operator wxList&() const' is
deprecated (declared at
/usr/local/lib/perl/5.18.2/Alien/wxWidgets/gtk_3_0_0_uni/include/wx-3.0/wx/list.h:1184)
[-Wdeprecated-declarations]
wxPli_objlist_push( aTHX_ lst );
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users