warning for close() in void context
pedantic warning for say/print/printf in void context