← Back to team overview

dolfin team mailing list archive

Re: DOLFIN build breaks with boost 1.45.0 and gcc 4.4 (works with gcc 4.5)

 


On 18/01/11 20:28, Florian Rathgeber wrote:
> Hi,
> 
> Just a sneak preview: when using the current boost release 1.45.0 (which
> isn't packaged on the major distributions yet) DOLFIN build breaks:
> 
> In IntersectionOperatorImplementation there are conflicts with
> boost::optional and the
>   error: dereferencing pointer \u2018<anonymous>\u2019 does break
> strict-aliasing rules
> is thrown (boost/optional/optional.hpp 317, 424)
> 
> It works using gcc 4.5 though, hence it shouldn't be much of a problem
> (unless of course you want to use CUDA: nvcc isn't compatible to gcc 4.5).
> 

Thanks - useful to be proactive in resolving issues like this.

It looks like boost::optional is being used as a bit of sugar.

Andre: can it be easily removed?

Garth

> Florian

_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp



References