2.3.15 patches - QA includes to fix compile warnings
dragonheart at gentoo.org
Thu Jun 19 12:54:12 CEST 2008
On Thu, 19 Jun 2008 08:39:40 pm Simon Josefsson wrote:
> Daniel Black <dragonheart at gentoo.org> writes:
> > 2.3.11+gcc-4.3 patch thanks to 01 Jun 2008; Diego PettenÃ²
> > <flameeyes at gentoo.org>
> > https://bugs.gentoo.org/show_bug.cgi?id=224453
> > Index: gnutls-2.3.11/doc/examples/ex-cxx.cpp
> > ===================================================================
> > --- gnutls-2.3.11.orig/doc/examples/ex-cxx.cpp
> > +++ gnutls-2.3.11/doc/examples/ex-cxx.cpp
> > @@ -4,6 +4,7 @@
> > #endif
> > #include <iostream>
> > #include <stdexcept>
> > +#include <cstring>
> > #include <gnutls/gnutls.h>
> > #include <gnutls/gnutlsxx.h>
> We solved this earlier by adding the following instead:
> #include <string.h> /* for strlen */
> That should be in 2.4.x too. Is it better to use <cstring>?
cstring is more c++ like. probably handles unicode and stuff better. not sure
if thats in this example.
> I don't know.
i trust Diego on this because i'm not sure either.
> > gnutls-2.3.15-qa_gnutls_session_is_psk.patch is mine and fixes
> This has been fixed already, but didn't make it for 2.4.0.
Daniel Black <dragonheart at gentoo.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part.
More information about the Gnutls-devel