Boost logo

Boost :

From: Edward Diener (eldiener_at_[hidden])
Date: 2020-09-18 12:04:28

On 9/18/2020 1:28 AM, Gavin Lambert via Boost wrote:
> On 18/09/2020 16:35, Edward Diener wrote:
>> On 9/17/2020 10:48 PM, Gavin Lambert wrote:
>>> On 18/09/2020 13:07, Edward Diener wrote:
>>>> I tried:
>>>> #pragma GCC diagnostic ignore "-Wpedantic"
>>>> or
>>>> #pragma GCC diagnostic warning "-Wpedantic"
>>>> and neither does anything.
>>> -Wpedantic isn't a thing; you need to name the specific individual
>>> warnings that actually occur.  These names should be included in the
>>> compiler output.
> That link doesn't contradict anything I said.
> Although perhaps *you* should take another look at it, in particular at
> the part where it said how to check which ones can actually be changed.
> (And perhaps also at the part where it says how to apply these at
> preprocessing time, although I suspect it's not going to help too much
> in this case since the issue is with the arguments.)

My point is that I use whatever names which show up in the compiler
output, such as "-Wvariadic-macros" or "-Wpedantic", and it does
nothing, so evidently those are among the warning options which can not
be changed by the #pragma GCC diagnostic.

Boost list run by bdawes at, gregod at, cpdaniel at, john at