https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431

--- Comment #22 from Jeffrey Walton <noloader at gmail dot com> ---
(In reply to Jonathan Wakely from comment #18)
> ...
> Or you could just change the code causing the warnings.

Fair enough.

There are two warnings that are big offenders. First is the "unused variable"
warning due to a static assert. I asked for help with it at
https://gcc.gnu.org/ml/gcc-help/2015-07/msg00070.html.

Second is the "unknown pragma" warning. Here's part of the problem, but I don't
expect much to come of it: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431.
Here's another piece of the same problem:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66943.

I really don't understand the 66942 warning since GCC is an OpenMP conforming
compiler. '#pragma omp' is known to it in all configurations. The only thing
that changes is OMP is "active" when '-fopenmp' is passed on the command line.

Jeff

Reply via email to