Subject: Re: [boost] [msvc] #warning preprocessor directive
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2017-10-17 16:25:13


On 10/17/17 19:15, Peter Dimov via Boost wrote:
> Andrey Semashev wrote:
>
>> This is QoI. Gcc does produce this message:
>>
>> 1.cpp:1:22: note: #pragma message: foo
>>   #pragma message("foo")
>>                        ^
>
> We're talking about MSVC here though.

The fact that a particular compiler does not produce enough information
in its output is not the reason to ask for a new preprocessor directive
noone else supports. If anything, it is the reason to ask the compiler
vendor to improve output in this case.