Boost logo

Boost :

Subject: Re: [boost] Info: Boost.Config is older than your compiler version - message is surprising
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2017-12-11 11:40:12


> -----Original Message-----
> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Peter Dimov via Boost
> Sent: 11 December 2017 10:47
> To: boost_at_[hidden]
> Cc: Peter Dimov
> Subject: Re: [boost] Info: Boost.Config is older than your compiler version - message is surprising
>
> Paul A. Bristow wrote:
> > Sent a suggestion to VS Team to allow later Boost versions (for the
> > benefit of Boost developers and other adventurous spirits using the git
> > develop branch)
> >
> > https://developercommunity.visualstudio.com/content/problem/165102/boost-config-suppress-outdated-message-is-
> unexpect.html
>
> This message is issued by Boost.Config, not by VS.
>
> https://github.com/boostorg/config/blob/develop/include/boost/config/compiler/visualc.hpp#L334
>
> One could argue that the version check there should be >= 1920 as these
> minor updates cause too much fuss.
>
> To avoid the problem of not being clear where this message comes from, I
> have proposed the addition of BOOST_PRAGMA_MESSAGE to Boost.Config:
>
> https://github.com/boostorg/config/pull/195
>
> which prepends the file and the line to the message, so that you could get
> f.ex.
>
> ../boost-git/boost\boost/config/compiler/visual.hpp(334): note: Boost.Config
> is older...

Sounds much better to me.

Paul

---
Paul A. Bristow
Prizet Farmhouse
Kendal UK LA8 8AB
+44 (0) 1539 561830

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