In file included from /usr/include/c++/7/cassert:44:0,
from /in/BinarySearchTree.h:19,
from /in/Compile/BinarySearchTree_compile_check.cpp:4:
/in/BinarySearchTree.h: In static member function 'static bool BinarySearchTree<T, Compare>::empty_impl(const BinarySearchTree<T, Compare>::Node*)':
/in/BinarySearchTree.h:351:12: error: 'False' was not declared in this scope
assert(False);
^
/in/BinarySearchTree.h:351:12: note: suggested alternative: 'pclose'
In file included from /in/Compile/BinarySearchTree_compile_check.cpp:4:0:
/in/BinarySearchTree.h: In static member function 'static bool BinarySearchTree<T, Compare>::empty_impl(const BinarySearchTree<T, Compare>::Node*) [with T = int; Compare = std::less<int>]':
/in/BinarySearchTree.h:352:3: error: control reaches end of non-void function [-Werror=return-type]
}
^
/in/BinarySearchTree.h: In static member function 'static bool BinarySearchTree<T, Compare>::empty_impl(const BinarySearchTree<T, Compare>::Node*) [with T = Duck; Compare = DuckWealthLess]':
/in/BinarySearchTree.h:352:3: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1plus: all warnings being treated as errors
/in/Compile/Makefile:30: recipe for target 'BinarySearchTree_compile_check.exe' failed
make: *** [BinarySearchTree_compile_check.exe] Error 1