[petsc-dev] Errors from PETSc 3.11 and 3.12 headers

Antonio Trande anto.trande at gmail.com
Sun Dec 22 14:50:50 CST 2019


On 22/12/19 21:07, Balay, Satish wrote:
> [petsc at petsc-c7 petsc:maint-3.11]$ gcc --version
> gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)

I'm using GCC from devtools-8 packages (GCC-8.3.1)

> 
> On CentOS-7 I get:
> 
> [petsc at petsc-c7 petsc:maint-3.11]$ grep PETSC_DEPRECATED_ENUM arch-linux2-c-debug/include/petscconf.h 
> #ifndef PETSC_DEPRECATED_ENUM
> #define PETSC_DEPRECATED_ENUM(why)  
> 
> However - you have [in petscconf.h provided]:
> 
> #ifndef PETSC_DEPRECATED
> #define PETSC_DEPRECATED(why) __attribute((deprecated))
> #endif
> 
> Is PETSc built with a different version of compiler? configure.log will have the details.
> 

Attached 2 logs of Configure: with and without MPI activated.

-- 
---
Antonio Trande
Fedora Project
mailto 'sagitter at fedoraproject dot org'
GPG key: 0x7B30EE04E576AA84
GPG key server: https://keys.openpgp.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure_logs.zip
Type: application/zip
Size: 111617 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20191222/6a5c8fbd/attachment-0001.zip>


More information about the petsc-dev mailing list