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] Error on using pp-annot


  • Subject: [Frama-c-discuss] Error on using pp-annot
  • From: frank at dordowsky.de (Frank Dordowsky)
  • Date: Mon, 7 Apr 2014 21:31:16 +0200 (CEST)
  • In-reply-to: <CAOH62JizN7SNKizysEWehbjhVY81sgsfnaO=LxnuPZ8cYc8Htw@mail.gmail.com>
  • References: <alpine.LNX.2.03.1403300940120.3220@strato.de> <CAOH62JhJErP1S-T80t6TTWDj4DB+89aGb3BHSNM3=vAKEJMz-Q@mail.gmail.com> <CAOH62JiriPFVqKf1-ynK_5BurCv8WR0kNDUECH-tG_4gSnvbBA@mail.gmail.com> <alpine.LNX.2.03.1403301438460.3899@dordowsky.de> <CAOH62JiHCiHPUJRidjsvkv_1USR_qsStz1CYgOPak+HM6MCnMw@mail.gmail.com> <alpine.LNX.2.03.1404012134240.617@dordowsky.de> <CAOH62JizN7SNKizysEWehbjhVY81sgsfnaO=LxnuPZ8cYc8Htw@mail.gmail.com>

I have tried clang and it seems to work. I also could reduce the
number of options of the command. This is my command now:

> frama-c -cpp-command 'clang -C -E -I.' -wp -wp-rte -pp-annot constant.c

And the result:

[kernel] preprocessing with "clang -C -E -I.  -dD constant.c"
[wp] Running WP plugin...
[wp] Collecting axiomatic usage
[rte] annotating function double_it
[wp] 3 goals scheduled
[wp] [Alt-Ergo] Goal typed_double_it_assert_rte_signed_overflow_2 : Valid (37ms) (3)
[wp] [Alt-Ergo] Goal typed_double_it_assert_rte_signed_overflow : Valid (Qed:3ms) (40ms) (3)
[wp] [Alt-Ergo] Goal typed_double_it_post : Valid (Qed:3ms) (40ms) (3)

All three goals as expected.

So thanks again for your assistance.
Frank