C++ compilation new warning filter

Viewed 254

I am working with c++ code base which emits many warnings due to which its hard to catch or notice new warnings being introduce by code I am adding or changing.

this is painful as I am not going to spend time resolving all the warning coming due to other modules, but I certainly do not want to add code which emits warning.

I wonder if there is some tool in gcc or external which can help here.

I can think of a painful way of taking a diff of compiler output with and without my code , but it will make my coffee taste much bitter.

Any suggestion on this?

1 Answers
Related