/in/p2.cpp: In function 'bool tree_search(tree_t, int)':
/in/p2.cpp:271:17: warning: the address of 'bool tree_isEmpty(tree_t)' will never be NULL [-Waddress]
if(tree_isEmpty){
^
/in/p2.cpp: In function 'bool ifhasMonotonicPath(tree_t, opaque_tree* (*)(tree_t))':
/in/p2.cpp:358:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
else if(tree_elt(tree) > tree_elt(fh(tree)) && tree_elt(fh(tree)) > tree_elt(fh(fh(tree)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/p2.cpp: In function 'opaque_list* traversal(tree_t)':
/in/p2.cpp:327:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^