[Dune] [#674] strict-aliasing warnings with gcc-4.4

Dune dune at dune-project.org
Mon Dec 7 11:00:43 CET 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#674 - strict-aliasing warnings with gcc-4.4
User who did this - Christian Engwer (christi)

----------
Hi Martin,

regarding the

template< class ItImp >
foo ( const Dune::EntityPointer< Grid, ItImp > & )

construct, you are right, that is a possible solution. But still it will come as a big surprise to the user. We export the type of the EntityPointer in the Grid, but it is useless, as you can not convert LeafIterator to EntityPointer, which is _conceptually_ the base of LeafIterator. Thus I'd prefer a solution which allows the cast.

Christian
----------

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=674#comment1469

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list