Skip to Content.
Sympa Menu

charm - Re: [charm] charm++ implementation

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] charm++ implementation


Chronological Thread 
  • From: Phil Miller <mille121 AT illinois.edu>
  • To: Haowei Huang <huangh AT in.tum.de>
  • Cc: Charm Mailing List <charm AT cs.illinois.edu>
  • Subject: Re: [charm] charm++ implementation
  • Date: Thu, 27 May 2010 14:08:09 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

On Thu, May 27, 2010 at 13:46, Haowei Huang
<huangh AT in.tum.de>
wrote:
> so you mean just put #include .decl.h at the top of A.h and put #include
> .def.h  at the bottom of
> A.C

Yes, include foo.decl.h at the top of A.C as well as Patch.C or
whatever. The foo.def.h file should only be included in one object.
Otherwise, you'll get multiple definition errors at link-time.

> in Makefile create such a rule:
>
> A.o: A.C A.h *.decl.h

That might build A.o more often than it needs to (since A.C doesn't
include some of those decl files), but it will work.





Archive powered by MHonArc 2.6.16.

Top of Page