Re:Useful GCC warning options not enabled by -Wall -Wextra
by jcelerier on Wednesday October 04, 2017 @12:39PM
(#15401746)
> For example, it would include -Weffc++, right?
Maybe, but where's the problem ? Just add -Wno-effc++ afterwards.
Re:Useful GCC warning options not enabled by -Wall -Wextra
by loeg on Wednesday October 04, 2017 @01:29PM
(#15402232)
Yes, -Weverything + -Werror is often a silly combination. That isn't a GCC-specific problem, though. Clang with both flags will fail to compile quite a lot of code, too.
As the other reply points out, you can just use -Wno-effc++ on top of -Weverything. You could also avoid that particular problem by not using C++ ;-).
That's what this says at the bottom:
https://github.com/Tuplanolla/gcc-weverything