C ++ compilation new warning filter

I work with a C ++ code base that emits a lot of warnings that make it hard to catch or notice new warnings introduced by code that I add or modify.

This is painful, since I am not going to waste time eliminating the entire warning due to other modules, but of course I do not want to add code that issues a warning.

I wonder if there is any tool in gcc or external that can help here.

I can think of a painful way to use diff for the compiler with and without code, but it will make my coffee very bitter.

Any suggestion on this?

+4
source share
1 answer

, . GCC .

, , -isystem , " " , .

, .

+4

Source: https://habr.com/ru/post/1681190/


All Articles