build: sync default-compiler-flags.py with NFD

* require gcc >= 4.8.2, clang >= 3.4, and boost >= 1.54.0
* move -Og to basic debug flags (supported by clang since 4.0)
* use gold linker and enable linker optimizations
* do not fail build when -Winfinite-recursion warning is generated
* do not fail build in debug mode when using deprecated declarations

refs #3599, #3358, #3795

Change-Id: Ib6c8d081cbfbf4b5678c277b6f1b02bd8973483a
diff --git a/tests/unit/tcp-bulk-insert-handle.cpp b/tests/unit/tcp-bulk-insert-handle.cpp
index 6d911f7..f35a42f 100644
--- a/tests/unit/tcp-bulk-insert-handle.cpp
+++ b/tests/unit/tcp-bulk-insert-handle.cpp
@@ -1,6 +1,6 @@
 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
 /**
- * Copyright (c) 2014,  Regents of the University of California.
+ * Copyright (c) 2014-2017,  Regents of the University of California.
  *
  * This file is part of NDN repo-ng (Next generation of NDN repository).
  * See AUTHORS.md for complete list of repo-ng authors and contributors.
@@ -37,6 +37,9 @@
   {
   }
 
+  virtual
+  ~TcpClient() = default;
+
   void
   start(const std::string& host, const std::string& port)
   {
@@ -176,5 +179,5 @@
 
 BOOST_AUTO_TEST_SUITE_END()
 
-} // namespace repo
 } // namespace tests
+} // namespace repo