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 strato.de (Frank Dordowsky)
  • Date: Sun, 30 Mar 2014 09:45:54 +0200 (CEST)

Hello,
I am trying to expand macro definitions within ACSL annotations using the 
pp-annot option. Unfortunately, I get an error on processing standard 
include files:

 	 [kernel] preprocessing with "gcc -C -E -I. -I /usr/share/frama-c/libc -nostdinc -dD constant.c"
 	 /usr/include/stdc-predef.h:1:[kernel] user error: unexpected token '/'
 	 [kernel] user error: skipping file "constant.c" that has errors.
 	 [kernel] Frama-C aborted: invalid user input.

I have used the following command:

   frama-c -cpp-extra-args="-I /usr/share/frama-c/libc" -pp-annot -wp -wp-rte

How can I fix this?
Thanks in advance
Frank