There are also 'make check' problems reported by clang,
fix attached.


Eduard.


On 21.02.2017 01:24, Alex Rousskov wrote:
On 02/20/2017 02:37 PM, Eduard Bagdasaryan wrote:
That applied fix missed one case, attaching patch for it.
Committed to v5 (r15062).

Alex.

On 20.02.2017 21:06, Alex Rousskov wrote:
Attaching compilation fix for r15057.
Committed to v5 (r15061).
_______________________________________________
squid-dev mailing list
[email protected]
http://lists.squid-cache.org/listinfo/squid-dev

Fix 'make check' to work with clang after r15057.

=== modified file 'src/tests/stub_DelayId.cc'
--- src/tests/stub_DelayId.cc	2017-01-01 00:12:22 +0000
+++ src/tests/stub_DelayId.cc	2017-02-21 09:16:49 +0000
@@ -1,25 +1,30 @@
 /*
  * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
  * Please see the COPYING and CONTRIBUTORS files for details.
  */
 
 /* DEBUG: section 20    Storage Manager */
 
 #include "squid.h"
 
 #if USE_DELAY_POOLS
+#include "BandwidthBucket.h"
 #include "DelayId.h"
 
 #define STUB_API "stub_DelayId.cc"
 #include "tests/STUB.h"
 
 DelayId::DelayId(): pool_(0), compositeId(NULL), markedAsNoDelay(false) {}
 DelayId::~DelayId() {}
 
 void DelayId::delayRead(DeferredRead const&) STUB_NOP
+void BandwidthBucket::refillBucket() STUB
+bool BandwidthBucket::applyQuota(int &, Comm::IoCallback *) STUB_RETVAL(false)
+BandwidthBucket *BandwidthBucket::SelectBucket(fde *) STUB_RETVAL(nullptr)
+void BandwidthBucket::reduceBucket(const int len) STUB
 
 #endif /* USE_DELAY_POOLS */
 

_______________________________________________
squid-dev mailing list
[email protected]
http://lists.squid-cache.org/listinfo/squid-dev

Reply via email to