-----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Andrey Semashev via Boost Sent: 17 October 2017 16:43 To: boost@lists.boost.org Cc: Andrey Semashev Subject: Re: [boost] [msvc] #warning preprocessor directive
On 10/17/17 16:14, Edward Diener via Boost wrote:
On 10/17/2017 8:10 AM, Beman Dawes via Boost wrote:
I find it very irritating that VC++ does not support #warning, and have opened a feature request:
https://visualstudio.uservoice.com/forums/121579-visual- studio?query=Add%20C%2FC%2B%2B%20%23warning%20preprocessor%20directive
The last time #warning was suggested it was rejected because not enough people voted for it. So please consider upvoting it on the above link.
The lack of #warning affects Boost libraries in that developers avoid otherwise useful warnings because of the hassle for using an extension not supported by VC++.
Maybe someone could promote #warning as an official addition to the C++ standard ?
I think, if it has to be in a standard, it should become part of C first.
In my experience, that would put it off forever :-( Paul