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

Dune dune at dune-project.org
Sat Dec 5 09:32:10 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 - Martin Nolte (nolte)

----------
As I wrote in yesterday's eMail, I think the placement-new is not an option because it calls some constructor. We cannot safely assume that a default constructor does nothing. The copy constructor is not an option either, because the entity pointer could be implemented as a shared_ptr. Copying would lead to a wrong increase in the reference count and thus a memory leak.
----------

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

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