-DYNAMIC_CALLS option inserts dynamic checks whenever it cannot prove a certain constraint is satisfied. E.g., val i:Int = ....; val j:Int{self>0} = i; // with -DYNAMIC_CALLS it inserts code that checks at runtime that the constraint is satisfied. Without -DYNAMIC_CALLS it would fail to compile.
In your case, it would add the constraint: {self.home==here} (which is abbreviated as "!") before calling a non global method. On Tue, Jun 1, 2010 at 12:16 PM, Christoph Pospiech < christoph.pospi...@de.ibm.com> wrote: > On Tuesday 01 June 2010 02:06:08 pm Yoav Zibin wrote: > > Do you compile with -DYNAMIC_CALLS ? > > > > Actually, I am using eclipse X10DT, which hides the compilation options > from > me. Poking around in the eclipse internal files with grep and vi, I found > an > xml file that stated g++ options and I added -DDYNAMIC to these. There was > no > apparent change, but of course I am not sure whether the compilation > process > looks at this xml file before doing the build (or whether it takes the > compilation options from elsewhere). > > I didn't find an eclipse menu which allowed me to see and change the > compiler > options. > > What is this option doing ? > -- > > Mit freundlichen Grüßen / Kind regards > > Dr. Christoph Pospiech > High Performance & Parallel Computing > Phone: +49-351 86269826 > Mobile: +49-171-765 5871 > E-Mail: christoph.pospi...@de.ibm.com > ------------------------------------- > IBM Deutschland GmbH > Vorsitzender des Aufsichtsrats: Erich Clementi > Geschäftsführung: Martin Jetter (Vorsitzender), > Reinhard Reschke, Christoph Grandpierre, > Klaus Lintelmann, Michael Diemer, Martina Koederitz > Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, > HRB > 14562 WEEE-Reg.-Nr. DE 99369940 > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > X10-users mailing list > X10-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/x10-users > ------------------------------------------------------------------------------ _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users