
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Stewart, Robert Sent: Monday, November 30, 2009 1:26 PM To: boost@lists.boost.org Subject: Re: [boost] Compiler Warnings Tests
Vicente Botet Escriba
Stewart, Robert wrote:
It might be possible to wrap the code that is supposed to warn with a macro that dictates the expected behavior:
BOOST_MUST_WARN(short a1(b + c));
Either looks plausible, but I would just remind you that there are only about 20 code constructs where warnings that seem to cause trouble, so are you sure we are not making a mountain out of a molehill? If either or both produce a working example for just one type of warning, I'll do the grunt work in setting up the test for all (20 of) the rest - for my sins, since I moaned too much about warnings in the first place ;-) Paul --- Paul A. Bristow Prizet Farmhouse Kendal, UK LA8 8AB +44 1539 561830, mobile +44 7714330204 pbristow@hetp.u-net.com