On 08/30/2012 07:35 AM, Amos Jeffries wrote: > On 30/08/2012 11:14 p.m., [email protected] wrote: >> See >> <http://build.squid-cache.org/job/3.HEAD-ppc-MacOS-Leopard/31/changes> >> >> libtool: compile: g++ -DHAVE_CONFIG_H -I../../.. -I../../../include >> -I../../../lib -I../../../src -I../../include -I/opt/local/include >> -I../../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments >> -Werror -pipe -D_REENTRANT -g -O2 -MT DomainData.lo -MD -MP -MF >> .deps/DomainData.Tpo -c ../../../src/acl/DomainData.cc -fno-common >> -DPIC -o .libs/DomainData.o >> ../../../src/acl/DomainData.cc: In function 'int >> aclHostDomainCompare(char* const&, char* const&)': >> ../../../src/acl/DomainData.cc:83: error: 'matchDomainName' was not >> declared in this scope > > Strange error. That function is declared in src/URL.h, which is included > into src/acl/DomainData.cc. > > Any ideas?
Perhaps something went wrong during "bzr update" (or similar) and we are building with stale URL.h? Earlier versions of that header did not declare matchDomainName(). If you get no better ideas, replacing g++ -c with g++ -E (for DomainData.cc) may help you figure out what exactly the compiler is seeing, including the contents of included header files. Cheers, Alex.
