[vox-tech] Compile problem...

R. Douglas Barbieri vox-tech@lists.lugod.org
Tue, 23 Sep 2003 14:33:41 -0700


--vOmOzSkFvhd7u8Ms
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Alright, I'll take a stab at it.

On Wed, Sep 24, 2003 at 01:20:57AM -0800, Walther The Writer wrote:
> Since it seems I can't get any help, ( at least for now ) , from develope=
rs of wvstreams ( actually, I need
> wvdial to work from  console ), I'll  to ask what's going on wrong with m=
y compile. When I do make, it says:
>=20
> ./utils/wvcallback.h:143: warning: implicit typename is deprecated, pleas=
e see
>    the documentation for details
> ./utils/wvcallback.h:143: warning: `typename WvCallback6_bound::Func' is =
implicitly a typename
> ./utils/wvcallback.h:143: warning: implicit typename is deprecated, pleas=
e see
>    the documentation for details
> ./utils/wvcallback.h: At global scope:
> ./utils/wvcallback.h:191: warning: `typename VoidCallback_bound::BoundFun=
c'
>    is implicitly a typename
> ./utils/wvcallback.h:191: warning: implicit typename is deprecated, pleas=
e see
>    the documentation for details
> In file included from wvresolver.h:11,
>                  from wvresolver.cc:7:
> ./streams/wvstream.h:21: warning: `typename
>    WvStreamCallback_bound::BoundFunc' is implicitly a typename
> ./streams/wvstream.h:21: warning: implicit typename is deprecated, please=
 see
>    the documentation for details
> wvresolver.cc:132: default argument given for parameter 4 of `int
>    WvResolver::findaddr(int, const WvString&, const WvIPAddr**, WvIPAddrL=
ist* =3D
>    0)'
> wvresolver.h:37: after previous specification in `int WvResolver::findadd=
r(int,
>    const WvString&, const WvIPAddr**, WvIPAddrList* =3D 0)'
> make[2]: *** [wvresolver.o] Error 1
> make[1]: *** [ipstreams] Error 2
> make: *** [src] Error 2

I think we can safely ignore the warning lines. The problem is (judging
just from the output of your compile and not having looked at the source
code), that the method WvResolver::findaddr() is defined at
wvresolver.h:37 to have a default argument, which is then repeated in
the cc file's declaration.

I think a quick fix might be to change line 132 of wvresolver.cc and
remove the "=3D 0" from after the WvIPAddrList* parameter.

>=20
>=20
> Any hints on what's wrong?
>=20
> I have sent three mail subscribe requests on their mailing list, but with=
 no reply. I have also posted
> it on their website.
>=20
> Walther.
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

--=20
R. Douglas Barbieri
doug@dooglio.net
http://www.dooglio.net

vi: "The way God meant for man to edit text files..."

GPG Fingerprint: FE6A 6A57 2B95 7594 E534  BFEE 45F1 9E5E F30A 8A27
GPG Public key : http://www.dooglio.net/dooglio.asc

--vOmOzSkFvhd7u8Ms
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iQCVAwUBP3C8NUXxnl7zCoonAQJJnwP+Ko/tJBIwm2V2Ua0MFNyejpFOeudJvku4
RVeoVLEWsYxAZ1kVR58MQ1Ytj0PzgCbUMLe0cMzodLGQNdHdCbkiLeZ7IE4+fx1/
1UVf+G3w7iCT14aYsBX2LzMCJS41POCr3lX+Nbefm8D+/EIghr52zSQ0Kqor6uMa
RCi7MXKorcE=
=Fl/u
-----END PGP SIGNATURE-----

--vOmOzSkFvhd7u8Ms--