Kirix Support Forums

compiling webcontrol.cpp using g++ gives error.

Please post all general questions, comments, bug reports, and any other wxWebConnect feedback here.

compiling webcontrol.cpp using g++ gives error.

Postby adibarve on Sun Aug 30, 2009 11:58 pm

Hi,

Compiling webcontrol.cpp
gives following error.... please let me know if anybody has any information on how to get rid of this problem.
rest files are compiling.

webcontrol.cpp:34: warning: 'wxEVT_WEB_OPENURI' redeclared without dllimport attribute: previous dllimport ignored
webcontrol.cpp:35: warning: 'wxEVT_WEB_TITLECHANGE' redeclared without dllimport attribute: previous dllimport ignored
webcontrol.cpp:36: warning: 'wxEVT_WEB_LOCATIONCHANGE' redeclared without dllimport attribute: previous dllimport ignored
webcontrol.cpp:37: warning: 'wxEVT_WEB_DOMCONTENTLOADED' redeclared without dllimport attribute: previous dllimport ignored
webcontrol.cpp:38: warning: 'wxEVT_WEB_STATUSTEXT' redeclared without dllimportattribute: previous dllimport ignored
webcontrol.cpp:39: warning: 'wxEVT_WEB_STATUSCHANGE' redeclared without dllimport attribute: previous dllimport ignored
webcontrol.cpp:40: warning: 'wxEVT_WEB_STATECHANGE' redeclared without dllimport attribute: previous dllimport ignored
webcontrol.cpp:41: warning: 'wxEVT_WEB_SHOWCONTEXTMENU' redeclared without dllimport attribute: previous dllimport ignored
webcontrol.cpp:42: warning: 'wxEVT_WEB_CREATEBROWSER' redeclared without dllimport attribute: previous dllimport ignored
webcontrol.cpp:43: warning: 'wxEVT_WEB_LEFTDOWN' redeclared without dllimport attribute: previous dllimport ignored
webcontrol.cpp:44: warning: 'wxEVT_WEB_MIDDLEDOWN' redeclared without dllimportattribute: previous dllimport ignored
webcontrol.cpp:45: warning: 'wxEVT_WEB_RIGHTDOWN' redeclared without dllimport attribute: previous dllimport ignored
webcontrol.cpp:46: warning: 'wxEVT_WEB_LEFTUP' redeclared without dllimport attribute: previous dllimport ignored
webcontrol.cpp:47: warning: 'wxEVT_WEB_MIDDLEUP' redeclared without dllimport attribute: previous dllimport ignored
webcontrol.cpp:48: warning: 'wxEVT_WEB_RIGHTUP' redeclared without dllimport attribute: previous dllimport ignored
webcontrol.cpp:49: warning: 'wxEVT_WEB_LEFTDCLICK' redeclared without dllimportattribute: previous dllimport ignored
webcontrol.cpp:50: warning: 'wxEVT_WEB_DRAGDROP' redeclared without dllimport attribute: previous dllimport ignored
webcontrol.cpp:51: warning: 'wxEVT_WEB_INITDOWNLOAD' redeclared without dllimport attribute: previous dllimport ignored
webcontrol.cpp:52: warning: 'wxEVT_WEB_SHOULDHANDLECONTENT' redeclared without dllimport attribute: previous dllimport ignored
webcontrol.cpp:53: warning: 'wxEVT_WEB_FAVICONAVAILABLE' redeclared without dllimport attribute: previous dllimport ignored
webcontrol.cpp:54: warning: 'wxEVT_WEB_DOMEVENT' redeclared without dllimport attribute: previous dllimport ignored
webcontrol.cpp:55: warning: 'wxWebEvent::ms_classInfo' redeclared without dllimport attribute: previous dllimport ignored
webcontrol.cpp:55: warning: 'virtual wxClassInfo* wxWebEvent::GetClassInfo() const' redeclared without dllimport attribute: previous dllimport ignored
webcontrol.cpp:55: warning: 'static wxObject* wxWebEvent::wxCreateObject()' redeclared without dllimport attribute after being referenced with dll linkage
webcontrol.cpp:55: error: definition of static data member 'wxWebEvent::ms_classInfo' of dllimport'd class
make: *** [webcontrol.o] Error 1

Thanks.
adibarve
Registered User
 
Posts: 4
Joined: Wed Aug 19, 2009 10:04 am

Return to wxWebConnect Questions, Thoughts & Feedback