Re: compile error without wxTYPE_SA_HANDLER
Vadim Zeitlin <[email protected]> Thu, 13 Mar 2014 17:34:02 +0100
| Newsgroups | gmane.mail.mahogany.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============2831986591539762020== Content-Type: MULTIPART/SIGNED; protocol="application/pgp-signature"; micalg=pgp-sha1; BOUNDARY="3811922002-41-1394728442=:17508" --3811922002-41-1394728442=:17508 Content-Type: TEXT/PLAIN; CHARSET=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-Disposition: INLINE On Thu, 13 Mar 2014 17:51:16 +0200 Nerijus Baliunas <[email protected]= rge.net> wrote: NB> my own compiled wx has '#define wxTYPE_SA_HANDLER int' in setup.h, NB> but Fedora wxGTK3-devel package has /* #undef wxTYPE_SA_HANDLER */ NB> in setup.h. I don't understand how did this happen. Did they use --disable-catch_segvs explicitly when building it? Because otherwise I just don't see how is this possible :-( NB> Because of this M does not compile with Fedora wx: NB>=20 NB> .src/mail/MailFolderCC.cpp:91:53: error: variable or field =E2=80=98sig= pipe_handler=E2=80=99 declared void NB> extern "C" void sigpipe_handler(wxTYPE_SA_HANDLER) NB> ^ NB> .src/mail/MailFolderCC.cpp:91:36: error: =E2=80=98wxTYPE_SA_HANDLER=E2= =80=99 was not declared in this scope NB> extern "C" void sigpipe_handler(wxTYPE_SA_HANDLER) I think you should just replace wxTYPE_SA_HANDLER with int here, this is POSIX and there shouldn't be any supported non-POSIX platforms any more. Could you please test this and commit it if it works? Thanks, VZ --3811922002-41-1394728442=:17508 Content-Type: APPLICATION/PGP-SIGNATURE -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iEYEABECAAYFAlMh3foACgkQBupB3k9sHoatSwCfaEN+FhcVZA2xcJxBBa7sycAL KGAAoKpwYUAv+PhZWH4qID8oxnkMiHwu =Kxfn -----END PGP SIGNATURE----- --3811922002-41-1394728442=:17508-- --===============2831986591539762020== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech --===============2831986591539762020== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Mahogany-Developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mahogany-developers --===============2831986591539762020==--