[Dune] [#674] strict-aliasing warnings with gcc-4.4
flyspray at dune-project.org
Wed Apr 21 09:56:01 CEST 2010
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 - Jö Fahlke (joe)
> Iterator it = grid.leafbegin();
> EntityPointer ep1 = it; // cast operator used
This is a use of the copy constructor EntityPointer(const EntityPointer&).
Since Iterator is not an EntityPointer, it has to be cast to one first.
> EntityPointer ep2( it ); // cast operator not used
This is a call to the EntityPointer constructor with one of the signatures
Construction via =... and via (...) are two different things.
More information can be found at the following URL:
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