Boost logo

Boost :

Subject: Re: [boost] [msvc] #warning preprocessor directive
From: Peter Dimov (lists_at_[hidden])
Date: 2017-10-17 16:31:48


Andrey Semashev wrote:

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

"Let's add #warning to MSVC"
"Why? Use #pragma message"
"#pragma message is not as good on MSVC because..."
"It's fine for me on non-MSVC"
"..."

> ... noone else supports.

Hello? #warning is a GCC directive.

https://gcc.gnu.org/onlinedocs/cpp/Diagnostics.html


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