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: dmentre at linux-france.org (David MENTRE)
  • Date: Thu, 12 Sep 2013 11:40:50 +0200
  • In-reply-to: <CAA1cxuh+mafbygOBap2Y7D2f-9-tQ+dyTZJz-L=_EM8+2XbGLQ@mail.gmail.com>
  • References: <CAA1cxuh+mafbygOBap2Y7D2f-9-tQ+dyTZJz-L=_EM8+2XbGLQ@mail.gmail.com>

Hello David,

2013/9/12 David Yang <abiao.yang at gmail.com>:
>  While I use gcc -C -E -I/$FRAMA_C_PATH/share/frama-c/libc -nostdinc test.c
>
> It failed to pre-process the file.

The "$FRAMA_C_PATH" notation was supposed to mean the location of YOUR
Frama-C setup. ;-)

In my case this is
"/usr/local/stow/frama-c-Fluorine-20130601/share/frama-c/libc" so I
need to use command:
  gcc -C -E -I/usr/local/stow/frama-c-Fluorine-20130601/share/frama-c/libc
-nostdinc test.c

You need to adapt this to YOUR setting.

Notice that command "frama-c -print-share-path" can help you find the
relevant path.

Best regards,
david