Boost logo

Boost Users :

Subject: [Boost-users] BOOST_FOREACH prevent 100% code coverage.
From: Marcin Zawadzki (zaba.marcin_at_[hidden])
Date: 2012-10-11 15:42:29


Hi,
I'm using BOOST_FOREACH in my code. And because it's macro so the whole
code behind the macro is inserted in place where it's used. So finally when
generating code coverage using gcc/gcov for my file it says that I have not
covered branches in line with BOOST_FOREACH.
And the question is - is it possible to somehow exclude BOOST_FOREACH form
coverage results?

Thanks,
Marcin



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net