$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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.