Page 1 of 1

wxWidget project warning messages?

Posted: Fri Aug 11, 2017 3:42 am
by HRSherman
Hi,

I've just installed wxWidgets and done the builds using the instructions on the CodeLite wiki page http://codelite.org/Developers/BuildingWxWidgetsWin
successfully. Then I created a new workspace and a new project of type "wxWidgets GUI Application (wxFrame, using wxCrafter)" . No code was added or removed from the generated project code. I then built the project. It compiled, but it did have 129 warning messages.

I'm guessing something must be wrong, because an untouched generated project that actual puts up a window and runs fine, probably should not be generating all these warnings.

If anyone knows whats going on please let me know. I'm new to CodeLite, C++, and to wxWidgets programming. Any help would be appreciated.

I'm using CodeLite version 10.0.0, and the TDM-GCC-64 comiler setup, and wxWidgets-3.0.3. I have set my environment variables as follows:
CodeLiteDir=C:\Program Files\CodeLite
WXWIN=C:\wxWidgets-3.0.3
WXCFG=gcc_dll\mswud
PATH=C:\wxWidgets-3.0.3\lib\gcc_dll;$PATH;

Thanks for your time.
Regards,
Rich

Here is the compiler generated warnings.... It's a LONG list. Sorry.

C:\Windows\system32\cmd.exe /C C:/TDM-GCC-64/bin/mingw32-make.exe -j8 SHELL=cmd.exe -e -f Makefile
"----------Building project:[ wxcFrame - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'C:/Users/Richard/Documents/wxcTest/wxcFrame'
C:/TDM-GCC-64/bin/windres.exe -i "C:/Users/Richard/Documents/wxcTest/wxcFrame/win_resources.rc" --use-temp-file --define __WXMSW__ --define __WXDEBUG__ --define _UNICODE --include-dir C:/wxWidgets-3.0.3/lib/gcc_dll/mswud --include-dir C:/wxWidgets-3.0.3/include --define WXUSINGDLL -o ./Debug/win_resources.rc.o
C:/TDM-GCC-64/bin/g++.exe -c "C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:/wxWidgets-3.0.3/lib/gcc_dll/mswud -IC:/wxWidgets-3.0.3/include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -std=c++11 -o ./Debug/wxcrafter.cpp.o -I. -I.
C:/TDM-GCC-64/bin/g++.exe -c "C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter_bitmaps.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:/wxWidgets-3.0.3/lib/gcc_dll/mswud -IC:/wxWidgets-3.0.3/include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -std=c++11 -o ./Debug/wxcrafter_bitmaps.cpp.o -I. -I.
C:/TDM-GCC-64/bin/windres.exe: warning: 24: 1: 1033: duplicate value
C:/TDM-GCC-64/bin/g++.exe -c "C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:/wxWidgets-3.0.3/lib/gcc_dll/mswud -IC:/wxWidgets-3.0.3/include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -std=c++11 -o ./Debug/MainFrame.cpp.o -I. -I.
C:/TDM-GCC-64/bin/g++.exe -c "C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp" -g -O0 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -IC:/wxWidgets-3.0.3/lib/gcc_dll/mswud -IC:/wxWidgets-3.0.3/include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -std=c++11 -o ./Debug/main.cpp.o -I. -I.
C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp:62:1: warning: 'virtual bool wxEvtHandler::TryValidator(wxEvent&)' is deprecated [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.0.3/include/wx/colour.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/settings.h:14,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:4,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp:1:
C:/wxWidgets-3.0.3/include/wx/event.h:3683:22: note: declared here
virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
C:/wxWidgets-3.0.3/include/wx/event.h:3682:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'
wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp:62:1: warning: 'virtual bool wxEvtHandler::TryParent(wxEvent&)' is deprecated [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.0.3/include/wx/colour.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/settings.h:14,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:4,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp:1:
C:/wxWidgets-3.0.3/include/wx/event.h:3686:22: note: declared here
virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
C:/wxWidgets-3.0.3/include/wx/event.h:3685:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'
wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp:62:1: warning: 'virtual void wxWindowBase::SetVirtualSizeHints(int, int, int, int)' is deprecated [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.0.3/include/wx/colour.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/settings.h:14,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:4,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp:1:
C:/wxWidgets-3.0.3/include/wx/window.h:459:32: note: declared here
wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp:62:1: warning: 'virtual void wxWindowBase::MakeModal(bool)' is deprecated [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.0.3/include/wx/colour.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/settings.h:14,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:4,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp:1:
C:/wxWidgets-3.0.3/include/wx/window.h:688:32: note: declared here
wxDEPRECATED( virtual void MakeModal(bool modal = true) );
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp:62:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.0.3/include/wx/xrc/xmlreshandler.h:23:0,
from C:/wxWidgets-3.0.3/include/wx/xrc/xmlres.h:30,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:5,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp:1:
C:/wxWidgets-3.0.3/include/wx/window.h:1872:13: note: declared here
inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp:62:1: warning: 'virtual bool wxEvtHandler::TryValidator(wxEvent&)' is deprecated [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.0.3/include/wx/colour.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/settings.h:14,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:4,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp:1:
C:/wxWidgets-3.0.3/include/wx/event.h:3683:22: note: declared here
virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
C:/wxWidgets-3.0.3/include/wx/event.h:3682:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'
wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp:62:1: warning: 'virtual bool wxEvtHandler::TryParent(wxEvent&)' is deprecated [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.0.3/include/wx/colour.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/settings.h:14,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:4,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp:1:
C:/wxWidgets-3.0.3/include/wx/event.h:3686:22: note: declared here
virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
C:/wxWidgets-3.0.3/include/wx/event.h:3685:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'
wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp:62:1: warning: 'virtual void wxWindowBase::SetVirtualSizeHints(int, int, int, int)' is deprecated [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.0.3/include/wx/colour.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/settings.h:14,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:4,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp:1:
C:/wxWidgets-3.0.3/include/wx/window.h:459:32: note: declared here
wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp:62:1: warning: 'virtual void wxWindowBase::MakeModal(bool)' is deprecated [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.0.3/include/wx/colour.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/settings.h:14,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:4,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp:1:
C:/wxWidgets-3.0.3/include/wx/window.h:688:32: note: declared here
wxDEPRECATED( virtual void MakeModal(bool modal = true) );
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp:62:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.0.3/include/wx/xrc/xmlreshandler.h:23:0,
from C:/wxWidgets-3.0.3/include/wx/xrc/xmlres.h:30,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:5,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.cpp:1:
C:/wxWidgets-3.0.3/include/wx/window.h:1872:13: note: declared here
inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp:27:1: warning: 'virtual bool wxEvtHandler::TryValidator(wxEvent&)' is deprecated [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.0.3/include/wx/colour.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/settings.h:14,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:4,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.h:3,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp:1:
C:/wxWidgets-3.0.3/include/wx/event.h:3683:22: note: declared here
virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
C:/wxWidgets-3.0.3/include/wx/event.h:3682:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'
wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp:27:1: warning: 'virtual bool wxEvtHandler::TryParent(wxEvent&)' is deprecated [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.0.3/include/wx/colour.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/settings.h:14,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:4,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.h:3,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp:1:
C:/wxWidgets-3.0.3/include/wx/event.h:3686:22: note: declared here
virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
C:/wxWidgets-3.0.3/include/wx/event.h:3685:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'
wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp:27:1: warning: 'virtual void wxWindowBase::SetVirtualSizeHints(int, int, int, int)' is deprecated [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.0.3/include/wx/colour.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/settings.h:14,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:4,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.h:3,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp:1:
C:/wxWidgets-3.0.3/include/wx/window.h:459:32: note: declared here
wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp:27:1: warning: 'virtual void wxWindowBase::MakeModal(bool)' is deprecated [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.0.3/include/wx/colour.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/settings.h:14,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:4,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.h:3,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp:1:
C:/wxWidgets-3.0.3/include/wx/window.h:688:32: note: declared here
wxDEPRECATED( virtual void MakeModal(bool modal = true) );
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp:27:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.0.3/include/wx/xrc/xmlreshandler.h:23:0,
from C:/wxWidgets-3.0.3/include/wx/xrc/xmlres.h:30,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:5,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.h:3,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp:1:
C:/wxWidgets-3.0.3/include/wx/window.h:1872:13: note: declared here
inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp:27:1: warning: 'virtual bool wxEvtHandler::TryValidator(wxEvent&)' is deprecated [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.0.3/include/wx/colour.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/settings.h:14,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:4,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.h:3,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp:1:
C:/wxWidgets-3.0.3/include/wx/event.h:3683:22: note: declared here
virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
C:/wxWidgets-3.0.3/include/wx/event.h:3682:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'
wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp:27:1: warning: 'virtual bool wxEvtHandler::TryParent(wxEvent&)' is deprecated [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.0.3/include/wx/colour.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/settings.h:14,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:4,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.h:3,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp:1:
C:/wxWidgets-3.0.3/include/wx/event.h:3686:22: note: declared here
virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
C:/wxWidgets-3.0.3/include/wx/event.h:3685:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'
wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp:27:1: warning: 'virtual void wxWindowBase::SetVirtualSizeHints(int, int, int, int)' is deprecated [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.0.3/include/wx/colour.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/settings.h:14,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:4,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.h:3,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp:1:
C:/wxWidgets-3.0.3/include/wx/window.h:459:32: note: declared here
wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
In file included from C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:1:0:
C:/wxWidgets-3.0.3/include/wx/app.h:885:69: warning: 'virtual bool wxEvtHandler::TryValidator(wxEvent&)' is deprecated [-Wdeprecated-declarations]
#define IMPLEMENT_APP(app) wxIMPLEMENT_APP(app);
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:25:1: note: in expansion of macro 'IMPLEMENT_APP'
IMPLEMENT_APP(MainApp)
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp:27:1: warning: 'virtual void wxWindowBase::MakeModal(bool)' is deprecated [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.0.3/include/wx/colour.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/settings.h:14,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:4,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.h:3,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp:1:
C:/wxWidgets-3.0.3/include/wx/window.h:688:32: note: declared here
wxDEPRECATED( virtual void MakeModal(bool modal = true) );
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp:27:1: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
}
^
In file included from C:/wxWidgets-3.0.3/include/wx/xrc/xmlreshandler.h:23:0,
from C:/wxWidgets-3.0.3/include/wx/xrc/xmlres.h:30,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:5,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.h:3,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.cpp:1:
C:/wxWidgets-3.0.3/include/wx/window.h:1872:13: note: declared here
inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
^
In file included from C:/wxWidgets-3.0.3/include/wx/event.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/app.h:19,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:1:
C:/wxWidgets-3.0.3/include/wx/event.h:3683:22: note: declared here
virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
C:/wxWidgets-3.0.3/include/wx/event.h:3682:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'
wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
^
In file included from C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:1:0:
C:/wxWidgets-3.0.3/include/wx/app.h:885:69: warning: 'virtual bool wxEvtHandler::TryParent(wxEvent&)' is deprecated [-Wdeprecated-declarations]
#define IMPLEMENT_APP(app) wxIMPLEMENT_APP(app);
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:25:1: note: in expansion of macro 'IMPLEMENT_APP'
IMPLEMENT_APP(MainApp)
^
In file included from C:/wxWidgets-3.0.3/include/wx/event.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/app.h:19,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:1:
C:/wxWidgets-3.0.3/include/wx/event.h:3686:22: note: declared here
virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
C:/wxWidgets-3.0.3/include/wx/event.h:3685:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'
wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
^
In file included from C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:1:0:
C:/wxWidgets-3.0.3/include/wx/app.h:885:69: warning: 'virtual bool wxEvtHandler::TryValidator(wxEvent&)' is deprecated [-Wdeprecated-declarations]
#define IMPLEMENT_APP(app) wxIMPLEMENT_APP(app);
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:25:1: note: in expansion of macro 'IMPLEMENT_APP'
IMPLEMENT_APP(MainApp)
^
In file included from C:/wxWidgets-3.0.3/include/wx/event.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/app.h:19,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:1:
C:/wxWidgets-3.0.3/include/wx/event.h:3683:22: note: declared here
virtual bool TryValidator(wxEvent& WXUNUSED(event)), return false; )
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
C:/wxWidgets-3.0.3/include/wx/event.h:3682:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'
wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
^
In file included from C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:1:0:
C:/wxWidgets-3.0.3/include/wx/app.h:885:69: warning: 'virtual bool wxEvtHandler::TryParent(wxEvent&)' is deprecated [-Wdeprecated-declarations]
#define IMPLEMENT_APP(app) wxIMPLEMENT_APP(app);
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:25:1: note: in expansion of macro 'IMPLEMENT_APP'
IMPLEMENT_APP(MainApp)
^
In file included from C:/wxWidgets-3.0.3/include/wx/event.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/app.h:19,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:1:
C:/wxWidgets-3.0.3/include/wx/event.h:3686:22: note: declared here
virtual bool TryParent(wxEvent& event), return DoTryApp(event); )
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
C:/wxWidgets-3.0.3/include/wx/event.h:3685:5: note: in expansion of macro 'wxDEPRECATED_BUT_USED_INTERNALLY_INLINE'
wxDEPRECATED_BUT_USED_INTERNALLY_INLINE(
^
In file included from C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:1:0:
C:/wxWidgets-3.0.3/include/wx/app.h:885:69: warning: 'virtual void wxWindowBase::SetVirtualSizeHints(int, int, int, int)' is deprecated [-Wdeprecated-declarations]
#define IMPLEMENT_APP(app) wxIMPLEMENT_APP(app);
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:25:1: note: in expansion of macro 'IMPLEMENT_APP'
IMPLEMENT_APP(MainApp)
^
In file included from C:/wxWidgets-3.0.3/include/wx/event.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/app.h:19,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:1:
C:/wxWidgets-3.0.3/include/wx/window.h:459:32: note: declared here
wxDEPRECATED( virtual void SetVirtualSizeHints( int minW, int minH,
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
In file included from C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:1:0:
C:/wxWidgets-3.0.3/include/wx/app.h:885:69: warning: 'virtual void wxWindowBase::MakeModal(bool)' is deprecated [-Wdeprecated-declarations]
#define IMPLEMENT_APP(app) wxIMPLEMENT_APP(app);
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:25:1: note: in expansion of macro 'IMPLEMENT_APP'
IMPLEMENT_APP(MainApp)
^
In file included from C:/wxWidgets-3.0.3/include/wx/event.h:14:0,
from C:/wxWidgets-3.0.3/include/wx/app.h:19,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:1:
C:/wxWidgets-3.0.3/include/wx/window.h:688:32: note: declared here
wxDEPRECATED( virtual void MakeModal(bool modal = true) );
^
C:/wxWidgets-3.0.3/include/wx/defs.h:654:43: note: in definition of macro 'wxDEPRECATED'
#define wxDEPRECATED(x) wxDEPRECATED_DECL x
^
In file included from C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:1:0:
C:/wxWidgets-3.0.3/include/wx/app.h:885:69: warning: 'virtual void wxWindowBase::SetInitialBestSize(const wxSize&)' is deprecated: use SetInitialSize() instead. [-Wdeprecated-declarations]
#define IMPLEMENT_APP(app) wxIMPLEMENT_APP(app);
^
C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:25:1: note: in expansion of macro 'IMPLEMENT_APP'
IMPLEMENT_APP(MainApp)
^
In file included from C:/wxWidgets-3.0.3/include/wx/xrc/xmlreshandler.h:23:0,
from C:/wxWidgets-3.0.3/include/wx/xrc/xmlres.h:30,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/wxcrafter.h:5,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/MainFrame.h:3,
from C:/Users/Richard/Documents/wxcTest/wxcFrame/main.cpp:3:
C:/wxWidgets-3.0.3/include/wx/window.h:1872:13: note: declared here
inline void wxWindowBase::SetInitialBestSize(const wxSize& size)
^
C:/TDM-GCC-64/bin/g++.exe -o ./Debug/wxcFrame @"wxcFrame.txt" -L. -mthreads -LC:/wxWidgets-3.0.3/lib/gcc_dll -lwxmsw30ud -lwxscintillad -lwxtiffd -lwxjpegd -lwxpngd -lwxzlibd -lwxregexud -lwxexpatd -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwxregexud -lwinspool -lwinmm -lshell32 -lcomctl32 -lversion -lshlwapi -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -mwindows
mingw32-make.exe[1]: Leaving directory 'C:/Users/Richard/Documents/wxcTest/wxcFrame'
====0 errors, 129 warnings====

Re: wxWidget project warning messages?

Posted: Sat Aug 12, 2017 11:29 am
by eranif
These warnings coming from within wxWidgets library and there is nothing you can do about it
Your application is OK though it will run etc

Re: wxWidget project warning messages?

Posted: Sat Aug 12, 2017 8:31 pm
by HRSherman
Thanks for responding.
Do you think the wxWidget build was done incorrectly? Maybe a compiler switch was not set? How would I go about finding out... any help is appreciated. Like I said I'm a total newbei at building a 3rd pary library, or any library at that. :lol: I'm not use to seeing all these warnings. It makes me think I'm doing something wrong.
Thanks for your help.
R.

Re: wxWidget project warning messages?

Posted: Sat Aug 12, 2017 11:52 pm
by eranif
No, you build it OK, the problem is with wxWidgets (I too had these warnings)
You can try and send an email to wx-dev mailing list or post on the wxWidgets forum