[ET Trac] [Einstein Toolkit] #768: Change per thorn -DTHORN_IS_xxx to a per thorn -I bindings/include/xxx

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Jun 8 11:05:22 CDT 2012


#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.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/768#comment:12>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list