old gnutlsxx defect still not fixed?

Benjamin Herr ben at 0x539.de
Tue May 13 20:44:05 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

as described in [0], the C++ bindings to gnutlsxx still invoke undefined
behaviour because the pure virtual function gnutls::credentials::set_ptr
cannot be called virtually in the constructor of gnutls::credentials.

The result for me is a linker error whenever any subclass of
gnutls::credentials is instantiated, or when the library is built for
Windows using mingw32 as win32 shared libraries cannot have unresolved
symbols.

Does anyone actually use the gnutlsxx bindings? The patches provided in
[0] look somewhat sane, is there any reason they have not been applied yet?

Thanks for your time,

Benjamin Herr

[0]: http://lists.gnu.org/archive/html/gnutls-devel/2007-02/msg00017.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgp4XQACgkQ+LZgICPLK54gWwCgizeEpwP/S4PAy9wkAYF65NTH
pGwAn2wzn7Ve8lxV3mchugJGq/Glzpcq
=v/li
-----END PGP SIGNATURE-----





More information about the Gnutls-devel mailing list