old gnutlsxx defect still not fixed?

Nikos Mavrogiannopoulos nmav at gnutls.org
Sat May 17 08:05:43 CEST 2008

Benjamin Herr wrote:
> 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.

Would the attached patch solve this issue? It is a port of the old patch
to newer gnutls.

> 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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: </pipermail/attachments/20080517/684a8abe/attachment.asc>

More information about the Gnutls-devel mailing list