dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #07811
Re: [HG DOLFIN] Add missing include in ALE.cpp.
Ilmar, can you send snippets of the wrapper code, it is clearly not the
same as the wrapper code I have.
Kent
>>
>> mpic++ -o dolfin/swig/dolfin_wrap.os -c -Wall -pipe -ansi -DDEBUG -g
>> -Werror -DNDEBUG -O2 -DHAS_MPI=1 -DMPICH_IGNORE_CXX_SEEK
>> -DPACKAGE_VERSION=\"0.7.3\" -DHAS_PETSC=1 -DHAS_SLEPC=1 -DHAS_SCOTCH=1
>> -DHAS_UMFPACK=1 -DHAS_GTS=1 -DHAS_TRILINOS=1 -fno-strict-aliasing -fPIC
>> -I. -I/usr/include/libxml2 -I/usr/lib/petsc/bmake/linux-gnu-c-opt
>> -I/usr/lib/petsc/include -I/usr/lib/openmpi/include
>> -I/usr/lib/openmpi/lib -Idolfin -I/usr/local -I/usr/local/include
>> -I/usr/lib/petsc/bmake/linux-gnu-c-opt -I/usr/lib/petsc/include
>> -I/usr/lib/openmpi/include -I/usr/lib/openmpi/lib -Idolfin
>> -I/usr/include/suitesparse -I/usr/include/glib-2.0
>> -I/usr/lib/glib-2.0/include -I/usr/local/include
>> -I/usr/include/python2.5 -I/usr/include/python2.5
>> -I/usr/lib/python2.5/site-packages/numpy/core/include
>> -I/usr/include/libxml2 -I/usr/lib/petsc/bmake/linux-gnu-c-opt
>> -I/usr/lib/petsc/include -I/usr/lib/openmpi/include
>> -I/usr/lib/openmpi/lib -Idolfin -I/usr/local -I/usr/local/include
>> -I/usr/lib/petsc/bmake/linux-gnu-c-opt -I/usr/lib/petsc/include
>> -I/usr/lib/openmpi/include -I/usr/lib/openmpi/lib -Idolfin
>> -I/usr/include/suitesparse -I/usr/include/glib-2.0
>> -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 constructor
>> âswig::PyObject_ptr::PyObject_ptr(PyObject*, bool)â:
>> dolfin/swig/dolfin_wrap.cc:3265: error: suggest explicit braces to avoid
>> ambiguous âelseâ
>> dolfin/swig/dolfin_wrap.cc: In destructor
>> âswig::PySequence_Cont<T>::~PySequence_Cont()â:
>> dolfin/swig/dolfin_wrap.cc:4704: error: suggest explicit braces to avoid
>> ambiguous âelseâ
>> scons: *** [dolfin/swig/dolfin_wrap.os] Error 1
>> scons: building terminated because of errors.
>>
>> ilmar
>>
Follow ups
References