-Wno-error=unused-result for some treelib warnings