For dolfin, the c++ library builds all right but pydolfin gives this error
"/usr/bin/swig -c++ -python -ignoremissing -nodefaultctor -nodefaultdtor
-dirprot -Werror `pkg-config --cflags ufc-1` -I/usr/include
-I../../src/kernel/common -I../../src/kernel/elements
-I../../src/kernel/fem -I../../src/kernel/function
-I../../src/kernel/graph -I../../src/kernel/io -I../../src/kernel/la
-I../../src/kernel/main -I../../src/kernel/math -I../../src/kernel/mesh
-I../../src/kernel/mf -I../../src/kernel/nls -I../../src/kernel/ode
-I../../src/kernel/pde -I../../src/kernel/quadrature
-I../../src/kernel/parameter -I../../src/kernel/log
-I../../src/kernel/plot -DHAVE_SCOTCH_H=1 -DHAVE_MPI_H=1
-DMPICH_IGNORE_CXX_SEEK -DHAVE_PETSC_H=1 -DNDEBUG -o dolfin_wrap.cpp
dolfin.i
../../src/kernel/la/dolfin/Scalar.h:88: Warning(503): Can't wrap
'operator real' unless renamed to a valid identifier.
make[2]: *** [dolfin_wrap.cpp] Error 1"
Is this a bug?
I get this as well, but Anders, for instance, does not. The simple fix is to
type make once more, as all warnings are treated as errors, but the swig
generated wrapper code will not be regenerated at the second make (and hence
the warning vanishes).
And yes, I consider this a bug.