Frama-C-discuss mailing list archives
This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Frama-c-discuss] [Fwd: Meaning of warning]
- Subject: [Frama-c-discuss] [Fwd: Meaning of warning]
- From: christele.faure2 at wanadoo.fr (Christele Faure)
- Date: Tue, 29 Jun 2010 16:33:41 +0200
- In-reply-to: <4C29A405.2050801@cea.fr>
- References: <4C29979A.9080008@wanadoo.fr> <4C29A405.2050801@cea.fr>
BAUDIN Patrick wrote: > > Christele, > >> I cannot figure out what this message means: ALE.c:342:[kernel] >> warning: Cannot represent the length of array as an attribute. >> I got this message 135 times on my application. >> Does any one know about this message ? >> > > As you know, the function prototype > void foo(int x[10]); > is equivalent to > void foo(int *x); > > Frama-C tries to convert the array size into an attribute in order to > don't loose the information. > The previous prototype is pretty-printted as follow by Frama-C: > void foo(int * /*[10]*/ x); > > In your case, it seems that Frama-C cannot convert the array size. > For exemple, this can occur with integers needing more than 64bits for > their encoding. > What kind of size expression do you have? It is probably a dynamic size and the application is too large to know exactly. Is there any way to avoid these messages ? Ch > > Patrick. > -- Christele Faure-Simeoni 04 93 77 71 08 http://pagesperso-orange.fr/Christele.Faure/ http://www.safe-river.com/
- Follow-Ups:
- [Frama-c-discuss] [Fwd: Meaning of warning]
- From: Patrick.Baudin at cea.fr (BAUDIN Patrick)
- [Frama-c-discuss] [Fwd: Meaning of warning]
- References:
- [Frama-c-discuss] [Fwd: Meaning of warning]
- From: christele.faure2 at wanadoo.fr (Christele Faure)
- [Frama-c-discuss] [Fwd: Meaning of warning]
- From: Patrick.Baudin at cea.fr (BAUDIN Patrick)
- [Frama-c-discuss] [Fwd: Meaning of warning]
- Prev by Date: [Frama-c-discuss] [Fwd: Meaning of warning]
- Next by Date: [Frama-c-discuss] [Fwd: Meaning of warning]
- Previous by thread: [Frama-c-discuss] [Fwd: Meaning of warning]
- Next by thread: [Frama-c-discuss] [Fwd: Meaning of warning]
- Index(es):