Use -Wdeclaration-after-statement if available.