[Dune] [#491] PoolAllocator not 64 bit clean

Dune dune at dune-project.org
Tue Dec 1 19:48:45 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)

----------
Assuming that this is the same bug as bug #493, using the makefile I attached, I get

$ rm fs_493_testcase_a
$ make
g++ -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
$ rm fs_493_testcase_a
$ CXXFLAGS='-fstrict-aliasing -Wall -Wextra' make
g++ -fstrict-aliasing -Wall -Wextra -std=c++0x -O2 -I.   fs_493_testcase_a.cc   -o fs_493_testcase_a
In file included from fs_493_testcase_a.cc:1:
../poolallocator.hh: In instantiation of 'T* Dune::PoolAllocator<T, s>::allocate(size_t, const T*) [with T = Element, long unsigned int s = 8176ul]':
fs_493_testcase_a.cc:39:   instantiated from here
../poolallocator.hh:551: warning: unused parameter 'hint'
fs_493_testcase_a: fs_493_testcase_a.cc:65: int main(): Assertion `alist.beforeHead_.next_->item_ == 1' failed.
make: *** [run] Aborted
$ 

so those warnings are probably what you're looking for. unless they're not.
----------

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

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