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] How to ignore Incompatible declarations without emitting errors?
- Subject: [Frama-c-discuss] How to ignore Incompatible declarations without emitting errors?
- From: dmentre at linux-france.org (David MENTRE)
- Date: Thu, 12 Sep 2013 09:39:36 +0200
- In-reply-to: <CAA1cxuionDeZ8DghZfxi12MsE6ozeY18vzmR39dVr2eDNQPRaw@mail.gmail.com>
- References: <CAA1cxuionDeZ8DghZfxi12MsE6ozeY18vzmR39dVr2eDNQPRaw@mail.gmail.com>
Hello, 2013/9/12 David Yang <abiao.yang at gmail.com>: > While i analysis a preprocessed file. I add fc_runtime.c by coding: > > Kernel.Files.add "/usr/local/share/frama-c/libc/fc_runtime.c" > > But an error occurred: > "user error: Incompatible declaration fclose Definitions of type FILE are > not isomorphic " > > Here, I don't want this to be an error. What I want is to use the new > declaration of type FILE to continue the analysis without emitting an error. I would say you have multiple declaration of type FILE. 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/). Best regards, david
- References:
- [Frama-c-discuss] How to ignore Incompatible declarations without emitting errors?
- From: abiao.yang at gmail.com (David Yang)
- [Frama-c-discuss] How to ignore Incompatible declarations without emitting errors?
- Prev by Date: [Frama-c-discuss] How to ignore Incompatible declarations without emitting errors?
- Next by Date: [Frama-c-discuss] "Re: How to ignore Incompatible declarations without emitting errors?"
- Previous by thread: [Frama-c-discuss] How to ignore Incompatible declarations without emitting errors?
- Next by thread: [Frama-c-discuss] "Re: How to ignore Incompatible declarations without emitting errors?"
- Index(es):