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

Dune flyspray at dune-project.org
Wed Mar 21 11:38:15 CET 2012


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)

There's still several places where a reinterpret_cast is used. Since you can only use this in rare cases without violating the rule, we should go through all of the uses and check if they are standard conforming. If they are not we should replace them if they are we should add a short documentation why it's OK here for later reference.

For example there seem to be several places where some raw C array is casted to a FieldVector which is in my impression a violation (even if there's no warning with current compilers).

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 mailing list