opensubscriber
   Find in this group all groups
 
Unknown more information…

m : mahogany-users@lists.sourceforge.net 8 May 2008 • 4:27PM -0400

[M-User] Can't build M: 'WXDLLIMPEXP_FWD_BASE wxClassInfo' has incomplete type and cannot be defined
by Robert Cernansky

REPLY TO AUTHOR
 
REPLY TO GROUP






Hi,

it is possible to build latest SVN Mahogany with latest CVS wx? I get
an error:

[...]
make[1]: Entering directory `/home/hs/drawer/projects/mahogany/mahogany/M/src'
[...]
.src/../include/guidef.h: At global scope:
.src/../include/guidef.h:19: error: aggregate ‘WXDLLIMPEXP_FWD_BASE wxClassInfo’ has incomplete type and cannot be defined
.src/../include/guidef.h:50: error: ‘wxClassInfo’ is not a type
.src/../include/guidef.h: In function ‘wxFrame* GetFrame(const wxWindow*)’:
.src/../include/guidef.h:60: error: cannot convert ‘wxClassInfo*’ to ‘int*’ for argument ‘2’ to ‘wxWindow* GetParentOfClass(const wxWindow*, int*)’
.src/../include/gui/wxMFrame.h: At global scope:
.src/../include/gui/wxMFrame.h:172: error: ‘wxClassInfo’ does not name a type
.src/../include/gui/wxMFrame.h:172: error: ISO C++ forbids declaration of ‘wxClassInfo’ with no type
.src/../include/gui/wxMFrame.h:172: error: ‘wxClassInfo’ declared as a ‘virtual’ field
.src/../include/gui/wxMFrame.h:172: error: expected ‘;’ before ‘*’ token
.src/../include/Sorting.h:21: error: aggregate ‘WXDLLIMPEXP_FWD_CORE wxWindow’ has incomplete type and cannot be defined
[...]

I've noticed that WXDLLIMPEXP_FWD_BASE, WXDLLIMPEXP_FWD_CORE,...
identifiers has changed in wx since 2.8.7. Is this the reason for
build error? How the Windows latest binary was build?

Regards,

Robert



--
Robert Cernansky
E-mail: hslists@zozn...
Jabber: hs@jabb...


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mahogany-Users mailing list
Mahogany-Users@list...
https://lists.sourceforge.net/lists/listinfo/mahogany-users

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.