Subject: Re: [boost] Towards a Warning free code policy proposal
From: Stewart, Robert (Robert.Stewart_at_[hidden])
Date: 2010-08-30 15:00:11
Andrey Semashev wrote:
> On 30.08.2010 21:24, Stewart, Robert wrote:
> > Andrey Semashev wrote:
> >> As I said, users can already disable all warnings from third party
> >> headers.
> > I know one can use -isystem with GCC, but how is that done
> > with other compilers?
> With MSVC (and, probably ICL) you can use pragmas around
> Boost headers.
I thought you were implying a simple, -isystem-like approach whereby just using a command line option would silence the warnings.
> I don't know about other compilers, but if there are similar
> tricks for
> them, they can be applied on user's side just as well as on
> Boost's side.
That means every user that wants that behavior must create a set of local headers to include before Boost headers in order to get the surrounding pragmas or whatever. That's not very polite, but I suppose if the assumption is that few have that problem/concern, then they ought to pay for the trouble rather than force the Boost maintainers to do so. Unfortunately, Boost libraries vary from release to release, so maintaining a parallel set of headers is rather cumbersome for library users.
Rob Stewart robert.stewart_at_[hidden]
Software Engineer, Core Software using std::disclaimer;
Susquehanna International Group, LLP http://www.sig.com
IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk