dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #15847
g++ 4.4.1 error
I'm getting a strange compiler warning which I haven't see before. Has
anyone seen it before? I'm using gcc 4.4.1.
Garth
cc1plus: warnings being treated as errors
./dolfin/mesh/MeshEntity.h: In member function ‘void
dolfin::DofMap::init_ufc_dofmap(ufc::dof_map&) const’:
./dolfin/mesh/MeshEntity.h:31: error: dereferencing pointer
‘<anonymous>’ does break strict-aliasing rules
./dolfin/mesh/MeshEntity.h:31: error: dereferencing pointer
‘<anonymous>’ does break strict-aliasing rules
./dolfin/mesh/MeshEntity.h:43: error: dereferencing pointer
‘<anonymous>’ does break strict-aliasing rules
./dolfin/mesh/MeshEntity.h:43: error: dereferencing pointer
‘<anonymous>’ does break strict-aliasing rules
./dolfin/mesh/MeshEntity.h:43: error: dereferencing pointer
‘<anonymous>’ does break strict-aliasing rules
dolfin/fem/DofMap.cpp:326: note: initialized from here
scons: *** [dolfin/fem/DofMap.os] Error 1
scons: building terminated because of errors.
Follow ups