3 ms·
Wall Werror is a nice idea that university professors will tell you about that collides at first contact with the real world where you are including 3rdparty he
by stefan_ 2y ago
Wall Werror is a nice idea that university professors will tell you about that collides at first contact with the real world where you are including 3rdparty headers that then spit 50 pages of incomprehensible GCC "overflow analysis" warnings.
- IshKebab 2y agoYou can use `-Isystem` for that. It isn't particularly well supported by C++ build systems, but also your assertion that third party headers don't compile with `-Wall -Werror` doesn't match my experience. Usually they're fine. > GCC "overflow analysis" warnings I think I've seen this with `fmt`, and it was a GCC compiler bug. Not much you can do about that.