Closed joshuaalayon closed 4 years ago
Try adding __attribute__((__noreturn__))
to static void cgi_error(const char *message, const char *reason, const char *filename)
:
static void cgi_error(const char *message, const char *reason, const char *filename)
__attribute__((__noreturn__))
{
That function calls _Exit and will never return, but GCC thinks otherwise due to lack of the annotation.
I ended up solving this by using this command to install fcgiwrap in Centos 8:
dnf --enablerepo=epel -y install fcgiwrap
Not as elegant as I wanted but it's doing the job, lol
Centos 8
During the step "make" I run into this error:
Any ideas? I tried removing -Wall, -Wextra, -Werror but the install didn't work and I can't help but feel this is why.