/in/calc.cpp:81:13: error: 'break' statement not in loop or switch statement
break;
^
/in/calc.cpp:156:25: error: reference to 'plus' is ambiguous
plus(myList);
^
/in/calc.cpp:34:13: note: candidate found by name lookup is 'plus'
static void plus(Dlist<int>& myList){
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.4.0/../../../../include/c++/7.4.0/bits/stl_function.h:167:12: note: candidate found by name lookup is 'std::plus'
struct plus : public binary_function<_Tp, _Tp, _Tp>
^
/in/calc.cpp:159:25: error: reference to 'minus' is ambiguous
minus(myList);
^
/in/calc.cpp:48:13: note: candidate found by name lookup is 'minus'
static void minus(Dlist<int>& myList){
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.4.0/../../../../include/c++/7.4.0/bits/stl_function.h:177:12: note: candidate found by name lookup is 'std::minus'
struct minus : public binary_function<_Tp, _Tp, _Tp>
^
/in/calc.cpp:165:25: error: reference to 'divides' is ambiguous
divides(myList);
^
/in/calc.cpp:76:13: note: candidate found by name lookup is 'divides'
static void divides(Dlist<int>& myList){
^
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.4.0/../../../../include/c++/7.4.0/bits/stl_function.h:197:12: note: candidate found by name lookup is 'std::divides'
struct divides : public binary_function<_Tp, _Tp, _Tp>
^
4 errors generated.
/in/Compile/Makefile:44: recipe for target 'buildCalc' failed
make: *** [buildCalc] Error 1