Skip to content

Pedantry: Stop using a few compiler extensions (2)

Dan Eble requested to merge dev/eble/pedantry into master
  • Remove superfluous semicolons after macros
  • Change a g++ "statement expression" to a lambda

The only remaining complaint from GCC 11.2.0 with the -pedantic flag set is about using , ##__VA_ARGS__ to elide the comma when there are no args. I'm not going near that because the alternatives are horrendous.

Merge request reports