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] Unknows Pragma
- Subject: [Frama-c-discuss] Unknows Pragma
- From: patrik.nylund at tke.fi (Patrik Nylund)
- Date: Thu, 03 Jun 2010 09:10:25 +0300
- In-reply-to: <AANLkTilpTZV17peqdrZyfirb6s6RBraKhngUGCNd7DW5@mail.gmail.com>
- References: <4BFF8109.10903@tke.fi> <AANLkTinL1AJ0k0C_7D6wqlIEe3uBWvLTy5IxzKzc7lIU@mail.gmail.com> <4C038E06.902@tke.fi> <20100531124550.4fa8f086@is010235> <4C05F087.8000300@tke.fi> <AANLkTil11ZhTiw5o2tngZvYTfyxwDyaJyprUSvMjKuBp@mail.gmail.com> <AANLkTilpTZV17peqdrZyfirb6s6RBraKhngUGCNd7DW5@mail.gmail.com>
Hi Thank you, now it woks better. But now I stumbled on a other problem How can we make it working with this? extern volatile PORTABSTR _PORTAB @(REG_BASE + 0x00000000); :) Is it possible? best regards, Patrik On 2.6.2010 17:27, Pascal Cuoq wrote: >> Use frama-c with the option: >> -cpp-command "gcc -C -E -I. -< %1 | gr> %2" >> > Having eaten my own dogfood[1], I found that > > -cpp-command "gcc -C -E -I. %1 | gr> %2" > > gives much better results. With this syntax, gcc still > sends the pre-processed file to its standard output, > but since the name of the file is known, inserted in > the pre-processed file, and taken advantage of by > Frama-C, you get messages such as: > > [value] computing for function printf<-sizeof_enum1. > Called from tests/misc/enum2.c:25. > > instead of: > > [value] computing for function printf<-sizeof_enum1. > Called from<stdin>:25. > > Pascal > > [1] http://en.wikipedia.org/wiki/Eating_your_own_dog_food > > _______________________________________________ > Frama-c-discuss mailing list > Frama-c-discuss at lists.gforge.inria.fr > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/frama-c-discuss > >
- Follow-Ups:
- [Frama-c-discuss] Unknows Pragma
- From: pascal.cuoq at gmail.com (Pascal Cuoq)
- [Frama-c-discuss] Unknows Pragma
- References:
- [Frama-c-discuss] Unknows Pragma
- From: patrik.nylund at tke.fi (Patrik Nylund)
- [Frama-c-discuss] Unknows Pragma
- From: pascal.cuoq at gmail.com (Pascal Cuoq)
- [Frama-c-discuss] Unknows Pragma
- From: pascal.cuoq at gmail.com (Pascal Cuoq)
- [Frama-c-discuss] Unknows Pragma
- Prev by Date: [Frama-c-discuss] Unknows Pragma
- Next by Date: [Frama-c-discuss] Unknows Pragma
- Previous by thread: [Frama-c-discuss] Unknows Pragma
- Next by thread: [Frama-c-discuss] Unknows Pragma
- Index(es):