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] Frama-C: #define not taken into account into annotations

Hi Dillon,

Le mardi 31 mars 2009 ? 10:36 +0200, Pariente Dillon a ?crit :
> //===== f.h
> #define vx 0.0
> //===== f.c file
> #include "f.h"
> float main(float v) { /*@ assert v<=vx ; */ return v; }

in this case, can't you just use "frama-c -pp-annot f.c -print" :

float main(float v )

  {/*@ assert (v ? 0.0);

  return (v);}


The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other then the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.