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] using logic type for struct with Frama-C Oxygen


  • Subject: [Frama-c-discuss] using logic type for struct with Frama-C Oxygen
  • From: stephane.duprat at atos.net (DUPRAT Stephane)
  • Date: Wed, 17 Oct 2012 11:50:40 +0000
  • In-reply-to: <569C6D7D26484241A530B87F45ADE1F80CA0BC8A@AOFRWMBXRSC004.resources.atosorigin.local>
  • References: <569C6D7D26484241A530B87F45ADE1F80CA0BC8A@AOFRWMBXRSC004.resources.atosorigin.local>

Hello,

Can we presume that logic types are out of the scope of Oxygen ?

Regards,

St?phane


De : frama-c-discuss-bounces at lists.gforge.inria.fr [mailto:frama-c-discuss-bounces at lists.gforge.inria.fr] De la part de DUPRAT Stephane
Envoy? : mercredi 3 octobre 2012 15:23
? : Frama-c-discuss at lists.gforge.inria.fr
Objet : [Frama-c-discuss] using logic type for struct with Frama-C Oxygen

Hello,

I'm trying to use a logic type struct following the example 2.12 of [ACSL Version 1.6 Implementation in Oxygen-20120901] with the new release Frama-C Oxygen.

//@ type point = struct { real x; real y; };
//@ logic point origin = { .x = 0.0 , .y = 0.0 };

int main(void)
{
  return 0;
}

This declaration causes me a warning :
$ frama-c ltype.c -print
[kernel] preprocessing with "gcc -C -E -I.  ltype.c"
ltype.c:1:[kernel] user error: unexpected token '{'
[kernel] user error: skipping file "ltype.c" that has errors.
[kernel] Frama-C aborted: invalid user input.

Is it possible to use logic struct with this release ?

Regards,

St?phane




________________________________

Ce message et les pi?ces jointes sont confidentiels et r?serv?s ? l'usage exclusif de ses destinataires. Il peut ?galement ?tre prot?g? par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir imm?diatement l'exp?diteur et de le d?truire. L'int?grit? du message ne pouvant ?tre assur?e sur Internet, la responsabilit? du groupe Atos ne pourra ?tre engag?e quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'exp?diteur ne donne aucune garantie ? cet ?gard et sa responsabilit? ne saurait ?tre engag?e pour tout dommage r?sultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20121017/ea72aef5/attachment.html>