On Sun, 12 Apr 2015 06:41:53 -0700 (PDT) ardi wrote:
a> Even with this warning, the application builds and runs fine with clang
a> (just like with gcc)
a>
a>
a> mywxtextctrl.c++:16:1: warning: declaration requires an exit-time
a> destructor [-Wexit-time-destructors]
a> BEGIN_EVENT_TABLE(CMyWxTextCtrl, wxTextCtrl)
a>
a> /Users/thatsme/wxWidgets/build/include/wx-2.9/wx/event.h:4130:56: note:
a> expanded from macro 'BEGIN_EVENT_TABLE'
a> #define BEGIN_EVENT_TABLE(a,b)
a> wxBEGIN_EVENT_TABLE(a,b)
Event table macros expand into global objects so you must ignore or
disable this warning (which is part of -Weverything with clang I believe)
if you use them.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/