#768: Change per thorn -DTHORN_IS_xxx to a per thorn -I bindings/include/xxx --------------------------+------------------------------------------------- Reporter: sbrandt | Owner: Type: enhancement | Status: review Priority: optional | Milestone: Cactus_4.1.0 Component: Cactus | Version: Cactus_4.0.0 Resolution: | Keywords: build system --------------------------+-------------------------------------------------
Comment (by sbrandt):
Replying to [comment:11 rhaas]:
With the patch (and copying cctk_core.h to src/include) I get
compilation errors when compiling ET-trunk (using simfactory and the debian-lenny configuration file for a --debug build). I get:
{{{ COMPILING
/mnt/data/rhaas/postdoc/gr/ET_trunk/arrangements/CactusBase/Boundary/src/ScalarBoundary.c
In file included from
/mnt/data/rhaas/postdoc/gr/ET_trunk/arrangements/CactusBase/Boundary/src/ScalarBoundary.c:25:0:
/mnt/data/rhaas/postdoc/gr/ET_trunk/arrangements/CactusBase/Boundary/src/Boundary.h:29:1: error: unknown type name ‘cGH’
}}} which then repeats a number of times.
For some reason the patch doesn't remove src/include/cctk.h. Do that by hand and I think it will work.