public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re: [ECOS] Can't use expressions in ecos.ecc any more?
       [not found] ` <200012131523.eBDFNrm20122@sheesh.cambridge.redhat.com>
@ 2000-12-13  7:33   ` Grant Edwards
  2000-12-13  7:38   ` Lewin A.R.W. Edwards
  1 sibling, 0 replies; 2+ messages in thread
From: Grant Edwards @ 2000-12-13  7:33 UTC (permalink / raw)
  To: Bart Veer; +Cc: ecos-discuss

On Wed, Dec 13, 2000 at 03:23:54PM +0000, Bart Veer wrote:
> 
>     Grant> Didn't expressions in ecos.ecc used to work?
> 
>     Grant> $ ecosconfig tree                              
>     Grant> C CYGNUM_MEMALLOC_FALLBACK_MALLOC_POOL_SIZE, Illegal current value 128*1024
>     Grant>   Legal values are: 32 to 0x7fffffff
>   
> No. You can have expressions in the original CDL, but the code for
> reading back savefiles has never supported expressions.
> 
> It is possible that a particular value is never referenced by other
> active CDL expressions. For example, if there were no constraints on
> CYGNUM_MEMALLOC_FALLBACK_MALLOC_POOL_SIZE then you could type in
> "128*1024", and in the generated header file you would end up with:
> 
>   #define CYGNUM_MEMALLOC_FALLBACK_MALLOC_POOL_SIZE 128*1024
> 
> For much code this would just work.

That must have been what happened.  I'd been using expressions
(just too lazy, I guess) for a couple things with 1.3.1, and
they generated errors with the CVS tree.  It's certainly not
worth any extra effort to get it to work.

-- 
Grant Edwards
grante@visi.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] Can't use expressions in ecos.ecc any more?
       [not found] ` <200012131523.eBDFNrm20122@sheesh.cambridge.redhat.com>
  2000-12-13  7:33   ` [ECOS] Can't use expressions in ecos.ecc any more? Grant Edwards
@ 2000-12-13  7:38   ` Lewin A.R.W. Edwards
  1 sibling, 0 replies; 2+ messages in thread
From: Lewin A.R.W. Edwards @ 2000-12-13  7:38 UTC (permalink / raw)
  To: bartv, grante; +Cc: ecos-discuss

>    Grant> C CYGNUM_MEMALLOC_FALLBACK_MALLOC_POOL_SIZE, Illegal current 
> value 128*1024
>     Grant>   Legal values are: 32 to 0x7fffffff
>
>No. You can have expressions in the original CDL, but the code for
>reading back savefiles has never supported expressions.

Will the current code reliably error for expressions? It could be a bad 
source of confusion if certain expressions are interpreted as simple values 
(e.g. 0).

=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-12-13  7:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20001212140748.A15366@visi.com>
     [not found] ` <200012131523.eBDFNrm20122@sheesh.cambridge.redhat.com>
2000-12-13  7:33   ` [ECOS] Can't use expressions in ecos.ecc any more? Grant Edwards
2000-12-13  7:38   ` Lewin A.R.W. Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).