pedantic compiler flags depend on the compiler
Merge branch 'FlorianRudolf/fix-windows-compatibility' into next