As per a suggestion on irc, wrap each of the error macros in ( ).