Boost logo

Boost :

Subject: Re: [boost] Info: Boost.Config is older than your compiler version - message is surprising
From: Peter Dimov (lists_at_[hidden])
Date: 2017-12-11 10:46:58


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...


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