g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  Index 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013 
<== Date ==> <== Thread ==>

Subject: Bug in sequencer?
From: Nick Patavalis <npat@ariadne.di.uoa.gr>
To: tech-talk@epics.aps.anl.gov
Date: Wed, 18 Dec 1996 14:51:29 +0200 (EET)
Hi,

I don't know whether this is the right place to report bugs, or
ask about bugs. Sorry if it isn't.

I tried to compile the sequencer translator (snc) that comes with
R3.13.0.beta4 under Linux (using gcc v2.7.2) and compilation
finished normally (give or take some warnings). When I tried to 
build the example application I noticed that snc was not producing 
the correct code (the snc output did not compile under gcc).

Finally I pin-pointed the problem and I think it comes down to this
(typo?):

gen_ss_array()
{
       .
       .
       .
    printf("\t/* State set \"%s\"*/\n", ssp->value);
    
    printf("\t/* ss name */            \"%s\",\n", ssp->value);
    
    printf("\t/* ptr to state block */ state_%s%,\n", ssp->value);
       .
       .
       .    
}

Shouldn't the third "printf" be:

    printf("\t/* ptr to state block */ state_%s,\n", ssp->value);

without the trailing "%" ?


Sincerely,

Nick Patavalis  
(npat@di.uoa.gr) 
Inst. for Accelerating Systems and Apps. 
(IASA) Athens, 18 Dec 1996.






Navigate by Date:
Prev: Re: devLib Peregrine McGehee
Next: Re: devLib Marty Kraimer
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013 
Navigate by Thread:
Prev: Re: devLib Marty Kraimer
Next: Re: Bug in sequencer? William Lupton
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·