Hi Ilmar,
I've been having some trouble compiling the Python wrapper for Dolfin.
It looks like you were once having some similar trouble, like the
errors listed below. Did you ever figure out what was going on with
this? I am getting errors just like this, but dolfin_wrap.cc still
compiles, and I get segmentation faults. Any help you could provide
would be appreciated. Thanks!
-I/usr/lib/glib-2.0/include -I/usr/local/include dolfin/swig/dolfin_wrap.cc
cc1plus: warnings being treated as errors
dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
_wrap_new_SLEPcEigenvalueSolver(PyObject*, PyObject*)':
dolfin/swig/dolfin_wrap.cc:49388: error: 'argv[0]' may be used
uninitialized in this function
dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
_wrap_new_TimeDependent(PyObject*, PyObject*)':
dolfin/swig/dolfin_wrap.cc:27560: error: 'argv[0]' may be used
uninitialized in this function
dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
_wrap_ios_base_sync_with_stdio(PyObject*, PyObject*)':
dolfin/swig/dolfin_wrap.cc:16953: error: 'argv[0]' may be used
uninitialized in this function
dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
_wrap_new_Vector(PyObject*, PyObject*)':
dolfin/swig/dolfin_wrap.cc:51759: error: 'argv[0]' may be used
uninitialized in this function
dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
_wrap_new_Mesh(PyObject*, PyObject*)':
dolfin/swig/dolfin_wrap.cc:69695: error: 'argv[0]' may be used
uninitialized in this function
scons: *** [dolfin/swig/dolfin_wrap.os] Error 1
scons: building terminated because of errors.
Cheers,
Tim