17 Oct
2017
17 Oct
'17
4:08 p.m.
On 10/17/17 18:59, Peter Dimov via Boost wrote:
Robert Ramey wrote:
personally I don't see any difference between #warning and the already existing and portable #pragma message - which is what I use on a regular basis.
`#pragma message("foo")` results in the following output:
foo
and shows nothing in the IDE warning list. So you either don't see it, or if you do, you have no clue where did it come from.
This is QoI. Gcc does produce this message: 1.cpp:1:22: note: #pragma message: foo #pragma message("foo") ^ The source file and position are present in the message.