Re: M-0.66 src compile error in wxDialogLayout

Vadim Zeitlin <[email protected]>
Newsgroups gmane.mail.mahogany.user
Message-ID <[email protected]>
On Thu, 25 Mar 2004 19:10:22 +0600 "Yury A. Yurevich" <[email protected]> wrote:

YAY> I've tried to compile M-0.66 on debian woody, wxWindows --
YAY> latest release (2.5.1, http://prdownloads.sourceforge.net/wxwindows/wxGTK-2.5.1.tar.bz2). 
YAY> 
YAY> make[1]: Entering directory `/home/yura/build/mahogany-0.66/src'
YAY> c++ -o gui/wxDialogLayout.o -c -I/home/yura/build/mahogany-0.66/include
YAY> -I/usr/include/python2.1 -DNO_IDEA -DNO_DSA
YAY> -DOPENSSL_NO_KRB5 -I/usr/local/stow/wxwindows/lib/wx/include/gtk-2.5
YAY> -I/usr/local/stow/wxwindows/include -DGTK_NO_CHECK_CASTS
YAY> -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
YAY> -I/home/yura/build/mahogany-0.66/extra/include
YAY> -I/home/yura/build/mahogany-0.66/extra/src/c-client
YAY> -I/home/yura/build/mahogany-0.66/extra/src/compface
YAY> -I/home/yura/build/mahogany-0.66/src/wx/vcard
YAY> -fno-exceptions -fno-rtti -O2 -MMD -Wall
YAY> gui/wxDialogLayout.cpp
YAY> gui/wxDialogLayout.cpp:105: static_cast from `void
YAY> (wxOptionsPageSubdialog::*)(wxEvent &)' to `void
YAY> (wxEvtHandler::*)(wxCommandEvent &)'

 This is what results in releasing a version which builds with a yet
unreleased wxGTK, unfortunately. 0.66 built fine with 2.5.1 snapshot from when
it was released but then a last minute change has unfortunately broke it.

 Anyhow, you have 2 choices:

- use the latest Mahogany snapshot (preferred)
- or change all those wxEvetns gcc complains about to wxCommandEvents

 Regards,
VZ



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.