Boost logo

Boost :

From: Paul A Bristow (pbristow_at_[hidden])
Date: 2007-11-08 04:39:49


>-----Original Message-----
>From: boost-bounces_at_[hidden]
>[mailto:boost-bounces_at_[hidden]] On Behalf Of Michael Marcin
>Sent: 07 November 2007 20:21
>To: boost_at_[hidden]
>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_at_[hidden]
 

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk