Compiling spamprobe with GCC 4.3

Nicolas Duboc <[email protected]> Fri, 24 Oct 2008 21:12:51 +0200
Newsgroups gmane.mail.spam.spamprobe.general
Message-ID <[email protected]>
--===============0507136256582469845==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="envbJBWh7q8WU6mo"
Content-Disposition: inline


--envbJBWh7q8WU6mo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Oct 22, 2008 at 02:24:25PM +0100, Anthony Campbell wrote:
[...]
> But I gewt different error messages from the OP:
>=20
[...]
> In file included from ../../src/includes/WordData.h:41,
>                  from ../../src/includes/CleanupManager.h:35,
>                  from CleanupManager.cc:31:
> ../../src/includes/util.h: In function ???bool starts_with(const std::str=
ing&, con
> st char*)???:
> ../../src/includes/util.h:83: error: ???strlen??? was not declared in thi=
s scope

  These errors are due to spamprobe source that relies on some tolerance
of GCC which has changed in GCC 4.3.

  I had to correct these errors for the Debian package. You can find
the correcting patch on
    http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1818489&gr=
oup_id=3D61201&atid=3D496459

  Unfortunately Brian Burton never replied to this patch nor to my
private emails requesting inclusion of this patch.

  Regards,

--=20
Nicolas Duboc <[email protected]>

--envbJBWh7q8WU6mo
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkkCHjIACgkQEAlStfgBp0OVVACghVsqBO6O220uZ13mhJ0P/oBZ
H9gAnRP5aF/Qq1si0RsLPwtUR5kyz8TO
=Wrv3
-----END PGP SIGNATURE-----

--envbJBWh7q8WU6mo--


--===============0507136256582469845==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
--===============0507136256582469845==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Spamprobe-users mailing list
Spamprobe-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/spamprobe-users

--===============0507136256582469845==--