[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#782824: g++-5: Compilation of application using wxWidgest produces a lot of warnings



Package: g++-5
Version: 5.1~rc1-1
Severity: normal

Dear Maintainer,
I tried to compile my application using wxWidgets with g++-5 but I got a lot of
warnings. I reported the problem on wxWidgets forum, but the developers think
that bug is in the gcc.

You can reproduce it by using wxWidget sample named "minimal", please use
makefile.unx, modify the line with compiler specification to:
CXX = g++-5

TonyMi

make -f makefile.unx
g++-5 -c -o minimal_minimal.o -I. `wx-config --cxxflags --unicode=yes
--static=no --toolkit=gtk2 --version=3.0`   -MTminimal_minimal.o -MF`echo
minimal_minimal.o | sed -e 's,\.o$,.d,'` -MD -MP minimal.cpp
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryValidator(wxEvent&)’ is deprecated [-Wdeprecated-
declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3683:22: note: declared here
         virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3682:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryParent(wxEvent&)’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3686:22: note: declared here
         virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3685:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryValidator(wxEvent&)’ is deprecated [-Wdeprecated-
declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3683:22: note: declared here
         virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3682:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryParent(wxEvent&)’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3686:22: note: declared here
         virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3685:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetVirtualSizeHints(int, int, int, int)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:459:32: note: declared here
     wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void wxWindowBase::MakeModal(bool)’ is
deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:688:32: note: declared here
     wxDEPRECATED( virtual void MakeModal(bool modal = true) );
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated: use
SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wx.h:38:0,
                 from minimal.cpp:30:
/usr/include/wx-3.0/wx/window.h:1872:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryValidator(wxEvent&)’ is deprecated [-Wdeprecated-
declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3683:22: note: declared here
         virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3682:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryParent(wxEvent&)’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3686:22: note: declared here
         virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3685:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetVirtualSizeHints(int, int, int, int)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:459:32: note: declared here
     wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void wxWindowBase::MakeModal(bool)’ is
deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:688:32: note: declared here
     wxDEPRECATED( virtual void MakeModal(bool modal = true) );
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated: use
SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wx.h:38:0,
                 from minimal.cpp:30:
/usr/include/wx-3.0/wx/window.h:1872:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryValidator(wxEvent&)’ is deprecated [-Wdeprecated-
declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3683:22: note: declared here
         virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3682:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryParent(wxEvent&)’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3686:22: note: declared here
         virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3685:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetVirtualSizeHints(int, int, int, int)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:459:32: note: declared here
     wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void wxWindowBase::MakeModal(bool)’ is
deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:688:32: note: declared here
     wxDEPRECATED( virtual void MakeModal(bool modal = true) );
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated: use
SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wx.h:38:0,
                 from minimal.cpp:30:
/usr/include/wx-3.0/wx/window.h:1872:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryValidator(wxEvent&)’ is deprecated [-Wdeprecated-
declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3683:22: note: declared here
         virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3682:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryParent(wxEvent&)’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3686:22: note: declared here
         virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3685:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetVirtualSizeHints(int, int, int, int)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:459:32: note: declared here
     wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void wxWindowBase::MakeModal(bool)’ is
deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:688:32: note: declared here
     wxDEPRECATED( virtual void MakeModal(bool modal = true) );
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated: use
SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wx.h:38:0,
                 from minimal.cpp:30:
/usr/include/wx-3.0/wx/window.h:1872:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryValidator(wxEvent&)’ is deprecated [-Wdeprecated-
declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3683:22: note: declared here
         virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3682:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryParent(wxEvent&)’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3686:22: note: declared here
         virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3685:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetVirtualSizeHints(int, int, int, int)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:459:32: note: declared here
     wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void wxWindowBase::MakeModal(bool)’ is
deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:688:32: note: declared here
     wxDEPRECATED( virtual void MakeModal(bool modal = true) );
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated: use
SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wx.h:38:0,
                 from minimal.cpp:30:
/usr/include/wx-3.0/wx/window.h:1872:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryValidator(wxEvent&)’ is deprecated [-Wdeprecated-
declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3683:22: note: declared here
         virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3682:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryParent(wxEvent&)’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3686:22: note: declared here
         virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3685:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetVirtualSizeHints(int, int, int, int)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:459:32: note: declared here
     wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void wxWindowBase::MakeModal(bool)’ is
deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:688:32: note: declared here
     wxDEPRECATED( virtual void MakeModal(bool modal = true) );
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated: use
SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wx.h:38:0,
                 from minimal.cpp:30:
/usr/include/wx-3.0/wx/window.h:1872:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryValidator(wxEvent&)’ is deprecated [-Wdeprecated-
declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3683:22: note: declared here
         virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3682:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryParent(wxEvent&)’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3686:22: note: declared here
         virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3685:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetVirtualSizeHints(int, int, int, int)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:459:32: note: declared here
     wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void wxWindowBase::MakeModal(bool)’ is
deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:688:32: note: declared here
     wxDEPRECATED( virtual void MakeModal(bool modal = true) );
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated: use
SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wx.h:38:0,
                 from minimal.cpp:30:
/usr/include/wx-3.0/wx/window.h:1872:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryValidator(wxEvent&)’ is deprecated [-Wdeprecated-
declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3683:22: note: declared here
         virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3682:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryParent(wxEvent&)’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3686:22: note: declared here
         virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3685:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetVirtualSizeHints(int, int, int, int)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:459:32: note: declared here
     wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void wxWindowBase::MakeModal(bool)’ is
deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:688:32: note: declared here
     wxDEPRECATED( virtual void MakeModal(bool modal = true) );
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated: use
SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wx.h:38:0,
                 from minimal.cpp:30:
/usr/include/wx-3.0/wx/window.h:1872:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryValidator(wxEvent&)’ is deprecated [-Wdeprecated-
declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3683:22: note: declared here
         virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3682:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryParent(wxEvent&)’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3686:22: note: declared here
         virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3685:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetVirtualSizeHints(int, int, int, int)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:459:32: note: declared here
     wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void wxWindowBase::MakeModal(bool)’ is
deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:688:32: note: declared here
     wxDEPRECATED( virtual void MakeModal(bool modal = true) );
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated: use
SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wx.h:38:0,
                 from minimal.cpp:30:
/usr/include/wx-3.0/wx/window.h:1872:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryValidator(wxEvent&)’ is deprecated [-Wdeprecated-
declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3683:22: note: declared here
         virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3682:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryParent(wxEvent&)’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3686:22: note: declared here
         virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3685:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetVirtualSizeHints(int, int, int, int)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:459:32: note: declared here
     wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void wxWindowBase::MakeModal(bool)’ is
deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:688:32: note: declared here
     wxDEPRECATED( virtual void MakeModal(bool modal = true) );
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated: use
SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wx.h:38:0,
                 from minimal.cpp:30:
/usr/include/wx-3.0/wx/window.h:1872:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryValidator(wxEvent&)’ is deprecated [-Wdeprecated-
declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3683:22: note: declared here
         virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3682:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryParent(wxEvent&)’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3686:22: note: declared here
         virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3685:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetVirtualSizeHints(int, int, int, int)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:459:32: note: declared here
     wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void wxWindowBase::MakeModal(bool)’ is
deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:688:32: note: declared here
     wxDEPRECATED( virtual void MakeModal(bool modal = true) );
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated: use
SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wx.h:38:0,
                 from minimal.cpp:30:
/usr/include/wx-3.0/wx/window.h:1872:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryValidator(wxEvent&)’ is deprecated [-Wdeprecated-
declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3683:22: note: declared here
         virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3682:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryParent(wxEvent&)’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3686:22: note: declared here
         virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3685:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetVirtualSizeHints(int, int, int, int)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:459:32: note: declared here
     wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void wxWindowBase::MakeModal(bool)’ is
deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:688:32: note: declared here
     wxDEPRECATED( virtual void MakeModal(bool modal = true) );
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated: use
SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wx.h:38:0,
                 from minimal.cpp:30:
/usr/include/wx-3.0/wx/window.h:1872:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryValidator(wxEvent&)’ is deprecated [-Wdeprecated-
declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3683:22: note: declared here
         virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3682:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryParent(wxEvent&)’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3686:22: note: declared here
         virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3685:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetVirtualSizeHints(int, int, int, int)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:459:32: note: declared here
     wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void wxWindowBase::MakeModal(bool)’ is
deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:688:32: note: declared here
     wxDEPRECATED( virtual void MakeModal(bool modal = true) );
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated: use
SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wx.h:38:0,
                 from minimal.cpp:30:
/usr/include/wx-3.0/wx/window.h:1872:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryValidator(wxEvent&)’ is deprecated [-Wdeprecated-
declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3683:22: note: declared here
         virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3682:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryParent(wxEvent&)’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3686:22: note: declared here
         virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3685:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetVirtualSizeHints(int, int, int, int)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:459:32: note: declared here
     wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void wxWindowBase::MakeModal(bool)’ is
deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:688:32: note: declared here
     wxDEPRECATED( virtual void MakeModal(bool modal = true) );
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated: use
SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wx.h:38:0,
                 from minimal.cpp:30:
/usr/include/wx-3.0/wx/window.h:1872:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryValidator(wxEvent&)’ is deprecated [-Wdeprecated-
declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3683:22: note: declared here
         virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3682:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryParent(wxEvent&)’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3686:22: note: declared here
         virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3685:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetVirtualSizeHints(int, int, int, int)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:459:32: note: declared here
     wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void wxWindowBase::MakeModal(bool)’ is
deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:688:32: note: declared here
     wxDEPRECATED( virtual void MakeModal(bool modal = true) );
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated: use
SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wx.h:38:0,
                 from minimal.cpp:30:
/usr/include/wx-3.0/wx/window.h:1872:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryValidator(wxEvent&)’ is deprecated [-Wdeprecated-
declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3683:22: note: declared here
         virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3682:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryParent(wxEvent&)’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3686:22: note: declared here
         virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3685:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetVirtualSizeHints(int, int, int, int)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:459:32: note: declared here
     wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void wxWindowBase::MakeModal(bool)’ is
deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:688:32: note: declared here
     wxDEPRECATED( virtual void MakeModal(bool modal = true) );
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated: use
SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wx.h:38:0,
                 from minimal.cpp:30:
/usr/include/wx-3.0/wx/window.h:1872:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryValidator(wxEvent&)’ is deprecated [-Wdeprecated-
declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3683:22: note: declared here
         virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3682:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryParent(wxEvent&)’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3686:22: note: declared here
         virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3685:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetVirtualSizeHints(int, int, int, int)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:459:32: note: declared here
     wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void wxWindowBase::MakeModal(bool)’ is
deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:688:32: note: declared here
     wxDEPRECATED( virtual void MakeModal(bool modal = true) );
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated: use
SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wx.h:38:0,
                 from minimal.cpp:30:
/usr/include/wx-3.0/wx/window.h:1872:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryValidator(wxEvent&)’ is deprecated [-Wdeprecated-
declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3683:22: note: declared here
         virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3682:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual bool
wxEvtHandler::TryParent(wxEvent&)’ is deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/event.h:3686:22: note: declared here
         virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
                      ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
/usr/include/wx-3.0/wx/event.h:3685:5: note: in expansion of macro
‘wxDEPRECATED_BUT_USED_INTERNALLY_INLINE’
     wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
     ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetVirtualSizeHints(int, int, int, int)’ is deprecated
[-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:459:32: note: declared here
     wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void wxWindowBase::MakeModal(bool)’ is
deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wxprec.h:12:0,
                 from minimal.cpp:21:
/usr/include/wx-3.0/wx/window.h:688:32: note: declared here
     wxDEPRECATED( virtual void MakeModal(bool modal = true) );
                                ^
/usr/include/wx-3.0/wx/defs.h:615:43: note: in definition of macro
‘wxDEPRECATE’
 #define wxDEPRECATED(x) wxDEPRECATED_DECL x
                                           ^
minimal.cpp:200:1: warning: ‘virtual void
wxWindowBase::SetInitialBestSize(const wxSize&)’ is deprecated: use
SetInitialSize() instead. [-Wdeprecated-declarations]
 }
 ^
In file included from /usr/include/wx-3.0/wx/wx.h:38:0,
                 from minimal.cpp:30:
/usr/include/wx-3.0/wx/window.h:1872:13: note: declared here
 inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
             ^
g++-5 -o minimal minimal_minimal.o     `wx-config --unicode=yes --static=no
--toolkit=gtk2 --version=3.0 --libs core,base`



-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=cs_CZ.utf8, LC_CTYPE=cs_CZ.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages g++-5 depends on:
ii  gcc-5            5.1~rc1-1
ii  gcc-5-base       5.1~rc1-1
ii  libc6            2.19-18
ii  libgmp10         2:6.0.0+dfsg-6
ii  libisl10         0.12.2-2
ii  libmpc3          1.0.3-1
ii  libmpfr4         3.1.2-3
ii  libstdc++-5-dev  5.1~rc1-1
ii  zlib1g           1:1.2.8.dfsg-2+b1

g++-5 recommends no packages.

Versions of packages g++-5 suggests:
pn  g++-5-multilib    <none>
pn  gcc-5-doc         <none>
pn  libstdc++6-5-dbg  <none>

-- no debconf information


Reply to: