Daniel Black | 19 Jun 11:12

2.3.15 patches - QA includes to fix compile warnings


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

gnutls-2.3.15-qa_gnutls_session_is_psk.patch is mine and fixes 
gnutls_kx.c:392: warning: implicit declaration of 
function '_gnutls_session_is_psk'

--

-- 
Daniel Black <dragonheart <at> gentoo.org>
Gentoo Foundation
_______________________________________________
Gnutls-devel mailing list
Gnutls-devel <at> gnu.org
http://lists.gnu.org/mailman/listinfo/gnutls-devel
Daniel Black | 19 Jun 11:29

Re: 2.3.15 patches - QA includes to fix compile warnings

On Thu, 19 Jun 2008 07:14:29 pm Daniel Black wrote:
> 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
>
>
> gnutls-2.3.15-qa_gnutls_session_is_psk.patch is mine and fixes
> gnutls_kx.c:392: warning: implicit declaration of
> function '_gnutls_session_is_psk'

both still missing from 2.4.0 now that i've found it.

forgot to mention I couldn't find a development snapshot branch for 2.3 /2.4 
if you plan on making one.

--

-- 
Daniel Black <dragonheart <at> gentoo.org>
Gentoo Foundation
_______________________________________________
Gnutls-devel mailing list
Gnutls-devel <at> gnu.org
http://lists.gnu.org/mailman/listinfo/gnutls-devel
Simon Josefsson | 19 Jun 12:40

Re: 2.3.15 patches - QA includes to fix compile warnings

Daniel Black <dragonheart <at> gentoo.org> writes:

> forgot to mention I couldn't find a development snapshot branch for 2.3 /2.4 
> if you plan on making one.

For some reason the daily auto-builder cannot build gnutls 2.3/2.4 due
to a strange TeX/Texinfo error.  I'll see if I can fix it.

/Simon
Simon Josefsson | 19 Jun 12:39

Re: 2.3.15 patches - QA includes to fix compile warnings

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>?  I don't
know.

> gnutls-2.3.15-qa_gnutls_session_is_psk.patch is mine and fixes 
> gnutls_kx.c:392: warning: implicit declaration of 
> function '_gnutls_session_is_psk'
>
> --- ./lib/gnutls_state.h.orig	2008-06-19 18:54:50.000000000 +1000
(Continue reading)

Daniel Black | 19 Jun 12:54

Re: 2.3.15 patches - QA includes to fix compile warnings

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.
(Continue reading)

Simon Josefsson | 19 Jun 13:18

Re: 2.3.15 patches - QA includes to fix compile warnings

Daniel Black <dragonheart <at> gentoo.org> writes:

> 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.
(Continue reading)


Gmane