Re: compile error with wx svn

Vadim Zeitlin <[email protected]> Wed, 9 Sep 2009 17:35:14 +0200
Newsgroups gmane.mail.mahogany.devel
Message-ID <[email protected]>
On Wed, 9 Sep 2009 18:09:12 +0300 Nerijus Baliunas <[email protected]> wrote:

NB> /a/M/wxWindows.29/wxWidgets/include/wx/scopeguard.h: In function 'void wxPrivate::OnScopeExit(ScopeGuardImpl&) [with ScopeGuardImpl = wxScopeGuardImpl1<void (*)(void**), void**>]':
NB> /a/M/wxWindows.29/wxWidgets/include/wx/scopeguard.h:177:   instantiated from 'wxScopeGuardImpl1<F, P1>::~wxScopeGuardImpl1() [with F = void (*)(void**), P1 = void**]'
NB> .src/classes/MessageView.cpp:1796:   instantiated from here
NB> /a/M/wxWindows.29/wxWidgets/include/wx/scopeguard.h:78: error: exception handling disabled, use -fexceptions to enable
NB> make[1]: *** [classes/MessageView.o] Error 1

 I guess you need to compile wx with --disable-exceptions if you do it for
M. It would be nice if we could override wxUSE_EXCEPTIONS before including
wx headers but I don't think this works currently.

 The simplest would be to stop using -fno_exceptipns when building M, of
course...
VZ

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
Mahogany-Developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQBKp8syBupB3k9sHoYRAhjZAJwMurEES0idhPUur6baGyalaEsSxACfagng
IIPUuaI8uXVIy4Cv9x3aRF0=
=j+0C
-----END PGP SIGNATURE-----