← Back to team overview

dolfin team mailing list archive

Re: g++ 4.4.1 error

 

On Wed, Sep 30, 2009 at 08:41:04PM +0100, Garth N. Wells wrote:
> 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

No. I also have 4.4.1 and I don't see this. Did you change anything?

--
Anders


> 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.
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev

Attachment: signature.asc
Description: Digital signature


References