79500381

Date: 2025-03-11 10:23:08
Score: 0.5
Natty:
Report link

In my case the issue was a wrong build command for meson. I.e:

meson setup build --reconfigure -Db_coverage=true -Dc_args=-Og,-w

Is wrong, and should instead be:

meson setup build --reconfigure -Db_coverage=true -Dc_args=-Og

Adding an extra -w causes meson to pass that -w to a default C compiler as a test, which causes the compiler to return an exception. Meson then decides that the compiler doesn't work - and announces that the compiler for "c" is not specified for the host machine.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: tornikeo