Page MenuHome GnuPG

pgpme fails compiling: void value not ignored
Closed, ResolvedPublic

Description

Compiling pgpme-1.6.0 fails with:

Making all in src
make[1]: Entering directory '/src/gpgme-1.16.0/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../conf -I/usr/include -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wno-format-y2k -Wno-missing-field-initializers -Wno-sign-compare -Wno-format-zero-length -Wno-format-truncation -Wno-sizeof-pointer-div -MT posix-io.lo -MD -MP -MF .deps/posix-io.Tpo -c -o posix-io.lo posix-io.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../conf -I/usr/include -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wno-format-y2k -Wno-missing-field-initializers -Wno-sign-compare -Wno-format-zero-length -Wno-format-truncation -Wno-sizeof-pointer-div -MT posix-io.lo -MD -MP -MF .deps/posix-io.Tpo -c posix-io.c -fPIC -DPIC -o .libs/posix-io.o
posix-io.c: In function '_gpgme_io_spawn':
posix-io.c:577:23: error: void value not ignored as it ought to be

577 |             while ((i = closefrom (fd)) && errno == EINTR)
    |                       ^

make[1]: * [Makefile:994: posix-io.lo] Error 1
make[1]: Leaving directory '/src/gpgme-1.16.0/src'
make:
* [Makefile:536: all-recursive] Error 1

Event Timeline

werner claimed this task.
werner added projects: Duplicate, gpgme.
werner added a subscriber: werner.

Please see T5587