[gnutls-help] gnutls 3.31 fails to compile with "gnutls_global.c", line 356: error: void function cannot return value

Nikos Mavrogiannopoulos nmav at gnutls.org
Wed Apr 30 09:41:27 CEST 2014


On Tue, Apr 29, 2014 at 10:20 PM, dev <dev at cor0.com> wrote:
>
> System is a Solaris 10 server with Oracle Studio 12.3 compiler tools.
>
> "gnutls_global.c", line 356: error: void function cannot return value
> cc: acomp failed for gnutls_global.c
> Could be a valid bug if a void func is to return a value.

There is a return there but no value to be returned. I've removed the
return anyway. Thanks.

Nikos



More information about the Gnutls-help mailing list