[Dune] [#674] strict-aliasing warnings with gcc-4.4 (Attachment added)

Dune flyspray at dune-project.org
Thu Dec 10 16:19:11 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)

----------
Here is one possible solution for yaspgrid and uggrid. (See attachement)
It implements Carstens proposal for yaspgrid and uggrid. I also cleanup the code a bit to keep the changes to the existing code as small as possible.

I have a different idea that would allow fast code also for wrapped grids, but it would require some major changes to the interface. By changing the grids to use consequently Traits, we could change the class hierarchy of an existing grid:

The normal grids woul have something like this:
EPImp <>- EP<EPImp>    <-    LevelItImp <>- LevelIt<LevelItImp>

And in the wrapped case it would change to
EPImp <>- EP<EPImp> <- EPImpWrap <>- EP<EPImpWrap> <- LevelItImp <>- LevelIt<LevelItImp> <- LevelItImpWrap <>- LevelIt<LevelItImpWrap>

I' not sure though how feasible this is.

----------

One or more files have been attached.

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

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