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

Dune flyspray at dune-project.org
Tue Nov 2 20:23:38 CET 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#821 - ConfigParser violates strict aliasing rule
User who did this - Carsten Gräser (Carsten)

----------
Storing refernces to subtrees is not uncommon and would not work with this approach.

Since ConfigParser as it is will not persist in the mid term I suggest to deprecate ConfigParser and to note that you need -fno-strict-aliasing if you keep using it. It's IMHO not worth to put more effort in solving this issue.

However, before deprecating it we should move the parser stuff somewhere else. While  boost::PropertyTree (the one we mimic) uses simple free functions I'd prefer static methods in some ParameterTreeFactory struct.
----------

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

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