Issues with void function inside macro