Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80259 - trunk/tools/build/v2/engine
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-27 07:16:05


Author: jurko
Date: 2012-08-27 07:16:04 EDT (Mon, 27 Aug 2012)
New Revision: 80259
URL: http://svn.boost.org/trac/boost/changeset/80259

Log:
Added a missing header #include in Boost Jam's mem.h header used when compiling with memory allocation profiling support. Fixes related 'implicitly declared profile_memory() function' gcc compilation warnings.
Text files modified:
   trunk/tools/build/v2/engine/mem.h | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/tools/build/v2/engine/mem.h
==============================================================================
--- trunk/tools/build/v2/engine/mem.h (original)
+++ trunk/tools/build/v2/engine/mem.h 2012-08-27 07:16:04 EDT (Mon, 27 Aug 2012)
@@ -100,6 +100,8 @@
 
 #ifdef OPT_DEBUG_PROFILE
     /* Profile tracing of memory allocations. */
+ #include "debug.h"
+
     #define BJAM_MALLOC(s) (profile_memory(s), bjam_malloc_x(s))
     #define BJAM_MALLOC_ATOMIC(s) (profile_memory(s), bjam_malloc_atomic_x(s))
     #define BJAM_CALLOC(n,s) (profile_memory(n*s), bjam_calloc_x(n,s))


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk