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] Documentation of \valid
- Subject: [Frama-c-discuss] Documentation of \valid
- From: Boris.Hollas at de.bosch.com (Hollas Boris (CR/AEY1))
- Date: Tue, 17 Nov 2009 13:26:36 +0100
- In-reply-to: <4B016055.8080107@inria.fr>
- References: <FC0686BB6178BC43B9DC035287A11A720DBD57FB8C@SI-MBX12.de.bosch.com> <A4D9A80C-4F63-4879-9B09-D22780EFCF8D@cea.fr> <FC0686BB6178BC43B9DC035287A11A720DBD57FBC9@SI-MBX12.de.bosch.com> <4AFD151D.7090600@inria.fr> <FC0686BB6178BC43B9DC035287A11A720DBD5C06AF@SI-MBX12.de.bosch.com> <4B01265D.20309@inria.fr> <FC0686BB6178BC43B9DC035287A11A720DBD5C08CD@SI-MBX12.de.bosch.com> <4B016055.8080107@inria.fr>
Hello Claude, I understand that C treats arrays as pointers and that Jessie behaves the same way. From a user point of view, I find it inconsistent that typedef int arr3[3]; typedef struct arr3a {int a0; int a1; int a2}; are treated differently - by C as well as by Jessie. I don't blame Jessie here as it, as you write, behaves just the way C does. Both arr3 and arr3a are types and they describe the same semantical concept. The only difference is in syntax and implementation in C. As inconsistencies may confuse users, I see use in telling it to users. That's why I suggested to add an example to the documentation. I believe that the documentation should also be useful to users who don't have a deep knowledge about pointer and data type handling in C. Regards, Boris
- References:
- [Frama-c-discuss] Documentation of \valid
- From: Boris.Hollas at de.bosch.com (Hollas Boris (CR/AEY1))
- [Frama-c-discuss] Documentation of \valid
- From: Pascal.Cuoq at cea.fr (Pascal Cuoq)
- [Frama-c-discuss] Documentation of \valid
- From: Boris.Hollas at de.bosch.com (Hollas Boris (CR/AEY1))
- [Frama-c-discuss] Documentation of \valid
- From: Claude.Marche at inria.fr (Claude Marche)
- [Frama-c-discuss] Documentation of \valid
- From: Boris.Hollas at de.bosch.com (Hollas Boris (CR/AEY1))
- [Frama-c-discuss] Documentation of \valid
- From: Claude.Marche at inria.fr (Claude Marche)
- [Frama-c-discuss] Documentation of \valid
- From: Boris.Hollas at de.bosch.com (Hollas Boris (CR/AEY1))
- [Frama-c-discuss] Documentation of \valid
- From: Claude.Marche at inria.fr (Claude Marche)
- [Frama-c-discuss] Documentation of \valid
- Prev by Date: [Frama-c-discuss] [Jessie Plugin] Can we trust prover CVC3 version 2.1 ?
- Next by Date: [Frama-c-discuss] ugly output shape - gwhy and frama-c-gui
- Previous by thread: [Frama-c-discuss] Documentation of \valid
- Next by thread: [Frama-c-discuss] using library function in frama-C
- Index(es):