]> granicus.if.org Git - gc/commit
Fix 'GC_debug_header_size is deprecated' GCC warning
authorIvan Maidanski <ivmai@mail.ru>
Tue, 25 Jun 2019 20:55:22 +0000 (23:55 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 25 Jun 2019 20:55:22 +0000 (23:55 +0300)
commit38962c655d8a095393a3690b7a88594849aba0f0
treef9ce5b5f304ccab97964e30e8275eb9106af8d69
parent9b21c03cb60ee555e75db79ae4b9cb2d8e70cb47
Fix 'GC_debug_header_size is deprecated' GCC warning
(fix of commit 85e3083ff)

* include/private/gc_priv.h [!GC_BUILD && NOT_GCBUILD] (GC_BUILD): Do
not define.
* tests/disclaim_bench.c (NOT_GCBUILD): Define macro (before include
gc_priv.h); remove outdated comment.
* tests/test.c (NOT_GCBUILD): Likewise.
include/private/gc_priv.h
tests/disclaim_bench.c
tests/test.c