]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Attempting to fix Jenkins "make test" (with clang?) after r15183.
authorAlex Rousskov <rousskov@measurement-factory.com>
Fri, 9 Jun 2017 06:03:47 +0000 (00:03 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Fri, 9 Jun 2017 06:03:47 +0000 (00:03 -0600)
undefined reference: operator<<(std::ostream&, Comm::Connection const&)
make[5]: *** [tests/testACLMaxUserIP] Error 1

My test-builds.sh passed before (and still passes after) this change, so
I am just guessing that I picked the wrong stub_*comm.cc file in r15183.

src/tests/stub_comm.cc
src/tests/stub_libcomm.cc

index 1f7f215656c2a9277b9ea129488b15cebea35178..2d465bbf9a994b0c75cbfc46d5d86f14977ec8cc 100644 (file)
@@ -70,5 +70,3 @@ bool comm_has_incomplete_write(int) STUB_RETVAL(false)
 void commStartHalfClosedMonitor(int fd) STUB
 bool commHasHalfClosedMonitor(int fd) STUB_RETVAL(false)
 int CommSelectEngine::checkEvents(int timeout) STUB_RETVAL(0)
-
-std::ostream &operator << (std::ostream &os, const Comm::Connection &conn) STUB_RETVAL(os << "[Connection object]")
index 4f8ab714f20508fc412658087558846f69e83a4d..ac653896943bb8d62d5550ef6d7c8774e3416b21 100644 (file)
@@ -79,3 +79,4 @@ void Comm::Write(const Comm::ConnectionPointer &conn, MemBuf *mb, AsyncCall::Poi
 void Comm::WriteCancel(const Comm::ConnectionPointer &conn, const char *reason) STUB
 /*PF*/ void Comm::HandleWrite(int, void*) STUB
 
+std::ostream &operator << (std::ostream &os, const Comm::Connection &conn) STUB_RETVAL(os << "[Connection object]")