GPGME 1.16 build error

Robert J. Hansen rjh at sixdemonbag.org
Thu Dec 16 21:25:33 CET 2021


make[1]: Entering directory '/home/rjh/Downloads/gpgme-1.16.0/src'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../conf    -I/usr/local/include -I/usr/local/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/local/include -I/usr/local/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)
       |                       ^

System is Pop!_OS 21.10 x64, with GCC 11.2.0.



More information about the Gnupg-devel mailing list