dimanche 20 août 2017

Selectively disable C++ Core Guidelines Checker for third party libraries

I would like to try to use the Core Guidelines checker tool on a C++11/14 project, under VS2015.

In my code I use many libraries from Boost which trigger a lot of warning. I am not concerned by those warnings, since Boost is doing a lot of very clever work and the libraries were not written with the aim of conforming to the Guidelines, which they mostly predate.

But with such a flood of warnings I am unable to find out the real issues (at least according to the tool) in my code.

Is there a way to suppress all the warnings for third party code? Maybe there is some attribute before and after #including boost headers?

Aucun commentaire:

Enregistrer un commentaire