--- layout: fc_discuss_archives title: Message 85 from Frama-C-discuss on September 2013 ---
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] "Re: How to ignore Incompatible declarations without emitting errors?"



>>   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
Dear david,

Thank you very much.
Yes, I was using the absolute path. ;-)
Thanks for reminding me of this issue.
I was wondering whether i could pre-process c file by include frama-c library without -nostdinc flag, i.e. using frama-c share library along with including system headers by the following command :
gcc -C -E -I/usr/local/share/frama-c/libc -I. test.c

Looking forward to your reply.

Best regards,
David