summaryrefslogtreecommitdiff
path: root/Makefile.direct
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2018-03-01 23:02:41 +0300
committerIvan Maidanski <ivmai@mail.ru>2018-03-01 23:03:47 +0300
commitdc8191fd5516c9fc3e722b8204f7af589c5be12a (patch)
tree5fd687b2f88c2d65a4ed2b8265d4c8b54a1a09e6 /Makefile.direct
parent832d5bcb5a2461bf9ab0309bf75f90dfdc2f6cd6 (diff)
downloadbdwgc-dc8191fd5516c9fc3e722b8204f7af589c5be12a.tar.gz
Eliminate 'unused const variable' C++ warnings for [a][u]objfreelist_ptr
Issue #206 (bdwgc). * Makefile.direct (SRCS): Add include/gc_alloc_ptrs.h. * include/include.am (dist_noinst_HEADERS): Likewise. * include/gc_alloc_ptrs.h: New file. * include/new_gc_alloc.h (GC_objfreelist_ptr, GC_aobjfreelist_ptr, GC_uobjfreelist_ptr, GC_auobjfreelist_ptr, GC_incr_bytes_allocd, GC_incr_bytes_freed): Move to the declarations to gc_alloc_ptrs.h. * include/new_gc_alloc.h: Include gc_alloc_ptrs.h; update comment. * mallocx.c: Likewise.
Diffstat (limited to 'Makefile.direct')
-rw-r--r--Makefile.direct2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.direct b/Makefile.direct
index 6fce4d50..80d4b9c7 100644
--- a/Makefile.direct
+++ b/Makefile.direct
@@ -106,7 +106,7 @@ SRCS= $(CSRCS) \
include/gc_inline.h include/gc_mark.h include/gc_disclaim.h \
tools/threadlibs.c tools/if_mach.c tools/if_not_there.c gc_cpp.cc \
include/gc_cpp.h include/weakpointer.h include/private/gc_locks.h \
- include/new_gc_alloc.h include/gc_allocator.h \
+ include/new_gc_alloc.h include/gc_alloc_ptrs.h include/gc_allocator.h \
include/javaxfc.h \
include/gc_backptr.h include/gc_gcj.h include/private/dbg_mlc.h \
include/private/specific.h include/leak_detector.h \