-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Paul A. Bristow Sent: Wednesday, December 05, 2012 5:35 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Experience with dealing with warnings from the Clang toolset?
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Vicente Botet Sent: Wednesday, December 05, 2012 3:53 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Experience with dealing with warnings from the Clang toolset?
Paul A. Bristow-2 wrote
I have added a little information on dealing with warnings when using the Clang toolset at
https://svn.boost.org/trac/boost/wiki/Guidelines/WarningsGuidelines
but I am sure there are people using Clang who can provide more detailed information and suggestions from their experiences. do you know if something like the macro is available on Boost? It could be adapted to also to clang.
I may give it a try (to avoid Mbyte of warnings (mainly from Boost library code - not mine) :-(
but I was hoping someone had done this already :-)
But since nobody has volunteered, here is my first stab at a worked example using a Macro adapted from Jonathan Wakely's version for GCC. But having tried it out, I conclude that eliminating warnings by better coding is much less trouble than playing "whack a mole" supressing for all known compilers! I have added this to the wiki page on warnings. https://svn.boost.org/trac/boost/wiki/Guidelines/WarningsGuidelines Other informed input still needed. Paul --- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow@hetp.u-net.com