> Our research group recently upgraded Ubuntu (to 10.04, Lucid). I rebuilt
> deal.II 6.3.1 (and Trilinos) with the new built-in compilers, and now I
> have a warning coming up multiple times when I run my code:
>
> deal.II/6.3.1/contrib/boost/include/boost/function/function_base.hpp:319:
> warning: dereferencing type-punned pointer will break strict-aliasing rules
> deal.II/6.3.1/contrib/boost/include/boost/function/function_base.hpp:323:
> warning: dereferencing type-punned pointer will break strict-aliasing rules

Out of curiosity: What compiler is this?

I don't think the warning points to anything particularly harmful in this 
case -- the code looks correct to me, but it sure would be nice to not see 
the warning...

Best
 W.

-------------------------------------------------------------------------
Wolfgang Bangerth                email:            [email protected]
                                 www: http://www.math.tamu.edu/~bangerth/

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to