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] "Re: How to ignore Incompatible declarations without emitting errors?"


  • Subject: [Frama-c-discuss] "Re: How to ignore Incompatible declarations without emitting errors?"
  • From: abiao.yang at gmail.com (David Yang)
  • Date: Thu, 12 Sep 2013 16:16:33 +0800

> Are you sure you are NOT including system standard headers before
> pre-processing your C files? You should use Frama-C version of
> standard headers instead (in $FRAMA_C_PATH/share/frama-c/libc/).


Dear David,

Thanks for your prompt reply.

Indeed. I was including system standard headers before pre-processing the C
files.
 While I use gcc -C -E -I/$FRAMA_C_PATH/share/frama-c/libc -nostdinc test.c

It failed to pre-process the file.

Should I pre-process file like this: gcc -C -E
-I/$FRAMA_C_PATH/share/frama-c/libc -I. test.c

Thank you very much
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20130912/f4f26eba/attachment-0001.html>