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

Dune flyspray at dune-project.org
Thu Dec 2 12:21:33 CET 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 - Carsten Gräser (Carsten)

----------
Unfortunately we did not dicuss this issue and the suggestion on droping the EntityPointer in favor of a storable Entiy. In view of simplicity I support Martins proposal to remove the cast.

IMHO it would then be a good idea to also remove the EP<ItImp> base class from It<ItImp>. Perhaps this could be done during the transition to the new EntityInterator. However you would also have to change

  template<Imp> void f(const EntityPointer<Imp>& ep){}

to

  template<It> void f(const It& ep){}

On the other hand the first version uses interface types that are not provided by the interface.
----------

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

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