From 6f6a4991a97fc09a28ce6d6d5c80cec865fabed3 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 25 Oct 2017 13:18:51 -0400 Subject: MqTree: Fix debugging output macro for disabled debugging Fixes: CC src/marquee-tree.o src/tree.c: In function ‘mq_tree_append_child_allocated’: src/tree.c:171:41: error: macro "debug_print_tree" passed 2 arguments, but takes just 1 debug_print_tree("Appended child", node); ^ src/tree.c:171:2: error: ‘debug_print_tree’ undeclared (first use in this function) debug_print_tree("Appended child", node); ^ src/tree.c:171:2: note: each undeclared identifier is reported only once for each function it appears in src/tree.c: In function ‘mq_tree_append_sibling_allocated’: src/tree.c:200:43: error: macro "debug_print_tree" passed 2 arguments, but takes just 1 debug_print_tree("Appended sibling", node); ^ src/tree.c:200:2: error: ‘debug_print_tree’ undeclared (first use in this function) debug_print_tree("Appended sibling", node); ^ src/tree.c: In function ‘mq_tree_remove_allocated’: src/tree.c:247:39: error: macro "debug_print_tree" passed 2 arguments, but takes just 1 debug_print_tree("Removed node", node); ^ src/tree.c:247:2: error: ‘debug_print_tree’ undeclared (first use in this function) debug_print_tree("Removed node", node); ^ --- (limited to 'm4/ax_check_compile_flag.m4') -- cgit v0.9.1