Skip to content

setup.py: Add default compiler warnings like with autotools

With clang we could pass a flag to ignore unknown warning flags but gcc errors out so we have to check if each flag is supported. Turns out we can do this reasonably fast if we try to remove the flags mentioned in stderr first.

Merge request reports