swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling Swarm-2001-02-20. Is hdf5-1.4 optional or mandatory?


From: Marcus G. Daniels
Subject: Re: Compiling Swarm-2001-02-20. Is hdf5-1.4 optional or mandatory?
Date: 26 Mar 2001 17:29:46 -0800
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "PJ" == Paul E Johnson <address@hidden> writes:

PJ> I just built the newer swarm snap with the old hdf5-1.2.2, and did
PJ> not get that error about hdf5. 

Let me put it this way:  I'm not supporting hdf5-1.2.2 unless someone
sends me autoconf macros and preprocessor conditionals to make it work on
the systems it does not.  (And I don't know what systems those are, nor care.)

PJ> cc1obj: warnings being treated as errors ASMObserverSwarm.m: In
PJ> function `-[ASMObserverSwarm buildObjects]':
PJ> ASMObserverSwarm.m:127: warning: invalid receiver type `void '
PJ> ASMObserverSwarm.m:127: void value not ignored as it ought to be
PJ> ASMObserverSwarm.m:127: invalid use of void expression
PJ> ASMObserverSwarm.m:136: warning: invalid receiver type `void '
PJ> ASMObserverSwarm.m:136: void value not ignored as it ought to be
PJ> ASMObserverSwarm.m:136: invalid use of void expression

Here's the patch I'd suggest for that.  Note that the set methods
aren't create-time; they are methods that frob a Tk widget after it
has been created.  (I've gone through most of the apps and made these
kinds of changes already.)

Index: ASMObserverSwarm.m
===================================================================
RCS file: /cvsroot/ArtStkMkt/ASM/ASMObserverSwarm.m,v
retrieving revision 1.3
diff -c -r1.3 ASMObserverSwarm.m
*** ASMObserverSwarm.m  2001/02/08 23:09:07     1.3
--- ASMObserverSwarm.m  2001/03/27 01:25:01
***************
*** 124,130 ****
    [priceGraph pack];
    
    priceData = [priceGraph createElement];
!   [[priceData setLabel: "actualprice"] setColor: "blue"];
    
    priceGrapher = [ActiveGraph createBegin: [self getZone]];
    [priceGrapher setElement: priceData];
--- 124,131 ----
    [priceGraph pack];
    
    priceData = [priceGraph createElement];
!   [priceData setLabel: "actualprice"];
!   [priceData setColor: "blue"];
    
    priceGrapher = [ActiveGraph createBegin: [self getZone]];
    [priceGrapher setElement: priceData];
***************
*** 133,139 ****
    priceGrapher = [priceGrapher createEnd];
  
    riskNeutralData = [priceGraph createElement];
!   [[riskNeutralData setLabel: "risk neutral price"] setColor: "black"];
     
    riskNeutralGrapher = [ActiveGraph createBegin: [self getZone]];
    [riskNeutralGrapher setElement: riskNeutralData];
--- 134,141 ----
    priceGrapher = [priceGrapher createEnd];
  
    riskNeutralData = [priceGraph createElement];
!   [riskNeutralData setLabel: "risk neutral price"];
!   [riskNeutralData setColor: "black"];
     
    riskNeutralGrapher = [ActiveGraph createBegin: [self getZone]];
    [riskNeutralGrapher setElement: riskNeutralData];

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]