[Dune] [#491] PoolAllocator not 64 bit clean
Dune
dune at dune-project.org
Tue Dec 1 21:09:22 CET 2009
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#491 - PoolAllocator not 64 bit clean
User who did this - Elias Pipping (pipping)
----------
looks like this now:
$ sed -n 538,542p poolallocator.hh
head_ = p->next_;
//++allocated_;
return reinterpret_cast<T*>(reinterpret_cast<char*>(p));
}
got rid of that warning:
$ rm fs_493_testcase_a; CXXFLAGS='-fstrict-aliasing -Wstrict-aliasing=1' make
g++ -fstrict-aliasing -Wstrict-aliasing=1 -std=c++0x -O2 -I. fs_493_testcase_a.cc -o fs_493_testcase_a
fs_493_testcase_a: fs_493_testcase_a.cc:65: int main(): Assertion `alist.beforeHead_.next_->item_ == 1' failed.
make: *** [run] Aborted
$
----------
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=491#comment1405
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