Re: [Gc] Dependency tracking for configuration macros
ivmai at mail.ru
Wed Sep 16 05:13:03 PDT 2009
Petter Urkedal <urkedal at nbi.dk> wrote:
> > 2. I'll post a standalone patch dealing with "config.h" -> "private/config.h" change in gc_cpp.cc, tests/test.c and include "private/config.h" addition in test_cpp.cc (I also add #undef GC_BUILD to it like in test.c).
> Okay, I split up the changes at
> https://git.eideticdew.org/cgit/~urkedal/bdwgc/log/?h=t-config_h which
> contains (attached)
> Patch 1
> Fix/add inclusion of private/config.h.
> * include/private/gc_priv.h, include/private/gc_pmark.h, gc_cpp.cc,
> tests/test.c: Change include of config.h to private/config.h.
> * tests/test_cpp.cc: Include private/config.h.
I've checked in this small one (with a minor correction: use "" instead of <> for private/config.h, and undef GC_BUILD in test_cpp for safety).
More information about the Gc