
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Michael Marcin Sent: 07 November 2007 20:21 To: boost@lists.boost.org Subject: Re: [boost] [ptr_container] trunk has problems with multiple definitions of xml_names with multiple TUs
Sigh.. I'm reminded of http://www.ddj.com/blog/cppblog/archives/2007/10/the_hazards_of.html
Is portable C++ an oxymoron?
Oh well completely off topic.
Not at all. It's a continuing problem, but I think the 'solution' is to suppress warnings in a way that *documents* saying: "Yes, we know, you would get a warning from this, but someone who ought to know (author etc) has decided that it isn't a helpful warning - so you won't". Sadly, there isn't a portable way of doing this (something Standards people should be apologising for), so for Boost it's a load of hassle. But it's most off-putting to get a zillion lines of warnings when you compile a simple bit of Boost - you certainly don't get a chance to find warnings that apply to your own code, never mind the errors. So I think we should continue to put effort into reducing the risk that Boost code causes spurious warnings. Paul --- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS pbristow@hetp.u-net.com