/in/foo.cc:119:78: error: macro "assert" passed 2 arguments, but takes just 1
assert(order.type == SET_SINGLE_VALUE, "other order is not available here");
^
/in/foo.cc:146:75: error: macro "assert" passed 2 arguments, but takes just 1
assert(order.type == ADD_ALL_VALUE, "other order is not available here");
^
/in/foo.cc:160:75: error: macro "assert" passed 2 arguments, but takes just 1
assert(order.type == MUL_ALL_VALUE, "other order is not available here");
^
/in/foo.cc: In member function 'void P2051::Node::setValue(P2051::Order)':
/in/foo.cc:119:4: error: 'assert' was not declared in this scope
assert(order.type == SET_SINGLE_VALUE, "other order is not available here");
^~~~~~
/in/foo.cc: In member function 'void P2051::Node::add(P2051::Order)':
/in/foo.cc:146:4: error: 'assert' was not declared in this scope
assert(order.type == ADD_ALL_VALUE, "other order is not available here");
^~~~~~
/in/foo.cc: In member function 'void P2051::Node::mul(P2051::Order)':
/in/foo.cc:160:4: error: 'assert' was not declared in this scope
assert(order.type == MUL_ALL_VALUE, "other order is not available here");
^~~~~~
/in/foo.cc: In function 'void P2051::input()':
/in/foo.cc:259:11: warning: enumeration value '__PLACE_HOLDER__' not handled in switch [-Wswitch]
switch (type)
^
/in/foo.cc: In function 'void P2051::algorithm()':
/in/foo.cc:367:12: warning: enumeration value '__PLACE_HOLDER__' not handled in switch [-Wswitch]
switch (order.type)
^