[gnutls-help] gnutls-3.2.13 : another code bug "base64.c", line 99: error: void function cannot return value
nmav at gnutls.org
Wed Apr 30 10:06:00 CEST 2014
On Wed, Apr 30, 2014 at 12:24 AM, dev <dev at cor0.com> wrote:
> I just checked and sure enough the code is trying to
> return a value from a static void function :
> That right there is just plain wrong.
> How can you return a value from a void function ?
I believe that comes from c++, no idea if it is in the c99 standard,
but work with gcc and clang.
> Does this stuff compile with GCC and it seems to work ?
Apparently yes. I'll modify the code to keep your compiler happy as well.
More information about the Gnutls-help