[petsc-dev] configure bug

Barry Smith bsmith at mcs.anl.gov
Mon Nov 18 20:46:44 CST 2013


  Matt, Jed, and Satish

    Nightly test,

ftp://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2013/11/18/configure_next_arch-opensolaris-cmplx-pkgs-dbg_n-gage.log

configure test clearly produces a warning but somehow this gets filtered out? So the make all is spewed with complaints about deprecated.  How can this possibly get filtered out?

   Barry



================================================================================
TEST configureDeprecated from PETSc.Configure(/export/home/petsc/petsc.clone-3/config/PETSc/Configure.py:676)
TESTING: configureDeprecated from PETSc.Configure(/export/home/petsc/petsc.clone-3/config/PETSc/Configure.py:676)
  Check if __attribute((deprecated)) is supported
        Pushing language C
Executing: /export/home/petsc/soft/mpich2-1.2.1p1/bin/mpicc -c -o /tmp/petsc-01nSWx/PETSc.Configure/conftest.o -I/tmp/petsc-01nSWx/config.setCompilers -I/tmp/petsc-01nSWx/config.compilers -I/tmp/petsc-01nSWx/config.headers -I/tmp/petsc-01nSWx/PETSc.utilities.cacheDetails -I/tmp/petsc-01nSWx/PETSc.utilities.getResidentSetSize -I/tmp/petsc-01nSWx/config.functions -I/tmp/petsc-01nSWx/PETSc.utilities.missing -I/tmp/petsc-01nSWx/config.packages.MPI -I/tmp/petsc-01nSWx/config.types -I/tmp/petsc-01nSWx/PETSc.utilities.scalarTypes -I/tmp/petsc-01nSWx/PETSc.packages.pthread -I/tmp/petsc-01nSWx/config.libraries -I/tmp/petsc-01nSWx/config.atomics -I/tmp/petsc-01nSWx/PETSc.Configure  -fPIC -g  /tmp/petsc-01nSWx/PETSc.Configure/conftest.c 
Possible ERROR while running compiler:
stderr:
"/tmp/petsc-01nSWx/PETSc.Configure/conftest.c", line 3: warning:  attribute "deprecated" is unknown, ignored
Source:
#include "confdefs.h"
#include "conffix.h"
__attribute((deprecated)) static int myfunc(void) { return 1;}

int main() {
;
  return 0;
}
        Defined "DEPRECATED(why)" to "__attribute((deprecated))"
        Popping language C




More information about the petsc-dev mailing list