Squid 3.4,`HelperServerBase' with only non-default constructor in class without a constructor« Wróć do listy pytań

error:
/usr/local/bin/bash ../../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -I/usr/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -O2 -pipe -g -I/usr/local/include -I/usr/local/include -MT ModKqueue.lo -MD -MP -MF .deps/ModKqueue.Tpo -c -o ModKqueue.lo ModKqueue.cc
libtool: compile: c++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -I/usr/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -pipe -O2 -pipe -g -I/usr/local/include -I/usr/local/include -MT ModKqueue.lo -MD -MP -MF .deps/ModKqueue.Tpo -c ModKqueue.cc -fPIC -DPIC -o .libs/ModKqueue.o
In file included from ../../src/auth/UserRequest.h:40,
from ../../src/HttpRequest.h:44,
from ../../src/HttpReply.h:35,
from ../../src/Store.h:42,
from ../../src/StatHist.h:33,
from ../../src/StatCounters.h:35,
from ModKqueue.cc:60:
../../src/helper.h:157: error: base `HelperServerBase' with only non-default constructor in class without a constructor
../../src/helper.h:172: error: base `HelperServerBase' with only non-default constructor in class without a constructor
*** Error code 1
Wysłane przez mrmucha
Zadane przez 30/07/2015 20:21
0

1. Otwórz plik /src/helper.h

2. Odnajdź klasę HelperServerBase

3. Dopisz konstruktor HelperServerBase();

Wysłane przez mrmucha
Odpowiedziane 30/07/2015 20:21