This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66943] GCC warns of Unknown Pragma for OpenMP, even though it support it.
- From: "noloader at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 20 Jul 2015 08:09:50 +0000
- Subject: [Bug c++/66943] GCC warns of Unknown Pragma for OpenMP, even though it support it.
- Auto-submitted: auto-generated
- References: <bug-66943-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66943
--- Comment #2 from Jeffrey Walton <noloader at gmail dot com> ---
My bad... Here's the error message:
g++ -DNDEBUG -g2 -O3 -Wall -march=native -pipe -c nbtheory.cpp
nbtheory.cpp:655:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel
^
nbtheory.cpp:656:0: warning: ignoring #pragma omp sections [-Wunknown-pragmas]
#pragma omp sections
^
...