[petsc-dev] How do you get C99 (_Pragma) configured?

Mark Adams mfadams at lbl.gov
Fri Oct 22 08:32:31 CDT 2021


And I am using
    '--with-cc=gcc-11',
    '--with-cxx=g++-11',
but I am getting, using what Jed suggests:

/Users/markadams/Codes/petsc2/include/petscsys.h:2873:29: error: '_Pragma'
undeclared (first use in this function)
 2873 | #define PetscPragmaOMP(arg) _Pragma("omp " PetscStringize(arg))


On Fri, Oct 22, 2021 at 9:15 AM Mark Adams <mfadams at lbl.gov> wrote:

>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20211022/e94ec16d/attachment.html>


More information about the petsc-dev mailing list