[Dune] Possible error in "poolallocator.hh"

Markus Blatt markus at dr-blatt.de
Thu Apr 3 21:47:45 CEST 2014


Hi,

On Thu, Apr 03, 2014 at 03:04:37PM +0000, Bård Skaflestad wrote:
> I do admit that I was quite surprised that I didn't experience the problem until I started to increase the diagnostic level of the build. I suspect, but haven't verified, that it was using libstdc++'s "debug" mode through compiler switches -D_GLIBCCX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1 that brought the issue to the fore.  However, the PoolAllocator is unfamiliar code so I could well be missing something obvious.  Hence this question.
> 
> In the meantime, explicitly declaring (and implementing) a PoolAllocator<> copy constructor as
> 
>     PoolAllocator(const PoolAllocator&)
>     { /* No-op */ }
> 
> allows the debug build of my project to finish.
> 
> Comments most welcome.  What am I missing?
> 

Nothing. you are totally right, that this copy constructor is
needed. Fixed this in master and releases/2.3. Thanks a lot for the
hint.

Cheers,

Markus
-- 
Do you need more support with DUNE or HPC in general? 

Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858  Fax: +49 (0)322 1108991658 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140403/92743bbc/attachment.sig>


More information about the Dune mailing list