[Dune-devel] [Dune-Commit] dune-common r7012 - in trunk/dune/common: . test

Steffen Müthing steffen.muething at ipvs.uni-stuttgart.de
Fri Oct 5 17:36:44 CEST 2012


Hi Christian,

r7012 breaks compilation of dune-common for me (OS X 10.7.5). The culprit seems to be including
malloc.h in debugallocator.hh. Do you really need that include? If I remove it, the module compiles
again (malloc() is already available from cstdlib anyway…).

Greetings,

Steffen

Am 05.10.2012 um 11:11 schrieb christi at dune-project.org:

> Author: christi
> Date: 2012-10-05 11:11:45 +0200 (Fri, 05 Oct 2012)
> New Revision: 7012
> 
> Added:
>   trunk/dune/common/debugallocator.cc
>   trunk/dune/common/debugallocator.hh
>   trunk/dune/common/test/testdebugallocator.cc
> Removed:
>   trunk/dune/common/debug_allocator.cc
>   trunk/dune/common/debug_allocator.hh
>   trunk/dune/common/test/test-debug-alloc.cc
> Modified:
>   trunk/dune/common/Makefile.am
>   trunk/dune/common/test/Makefile.am
> Log:
> [debugallocator]
> rename files... remove underscores
> 
………..
> 
> Copied: trunk/dune/common/debugallocator.hh (from rev 7011, trunk/dune/common/debug_allocator.hh)
> ===================================================================
> --- trunk/dune/common/debugallocator.hh	                        (rev 0)
> +++ trunk/dune/common/debugallocator.hh	2012-10-05 09:11:45 UTC (rev 7012)
> @@ -0,0 +1,282 @@
> +#ifndef DUNE_DEBUG_ALLOCATOR_HH
> +#define DUNE_DEBUG_ALLOCATOR_HH
> +
> +#include <exception>
> +#include <typeinfo>
> +#include <sys/mman.h>
> +#include <vector>
> +#include <iostream>
> +#include <cstring>
> +#include <cstdlib>
> +#include <malloc.h>
> +#include <new>
> +

Steffen Müthing
Universität Stuttgart
Institut für Parallele und Verteilte Systeme
Universitätsstr. 38
70569 Stuttgart
Tel: +49 711 685 88429
Fax: +49 711 685 88340
Email: steffen.muething at ipvs.uni-stuttgart.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20121005/539632b8/attachment.sig>


More information about the Dune-devel mailing list