[Dune] [#821] ConfigParser violates strict aliasing rule

Dune flyspray at dune-project.org
Wed Sep 15 21:59:26 CEST 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Carsten Gräser (Carsten) 

Attached to Project - Dune
Summary - ConfigParser violates strict aliasing rule
Task Type - Bug Report
Category - Common
Status - New
Assigned To - 
Operating System - Unspecified / All
Severity - Low
Priority - Normal
Reported Version - SVN (pre2.1)
Due in Version - Undecided
Due Date - Undecided
Details - Since ConfigParser inherits from ParameterTree its subtrees are ParameterTrees. In order to have compatibility the sub() method returns a ConfigParser obtained by a static cast from the base class ParameterTree.

Although this seems OK (the derived class has the same memory layout) it violates the strict aliasing rule.

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

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