On Wed, Mar 11, 2009 at 01:30:45PM +, Samin Ishtiaq wrote:
> I run this function after cpp, and before I call Frontc.parse,
> to remove these annotations:
>
> --- snip ---
If you go for the "find-replace" approach the freaky directives could
be translated into gcc attributes ("__attribute__((.
Hi all -
We're trying to use CIL as a library to transform some C as part of a
build process, targetting Visual C++. We can parse and transform the
code, but when we serialise the transformed tree, the attributes are
emitted in "__attribute__" form, rather than VC's __declspec form.
At the start
> Message: 1
> Date: Tue, 10 Mar 2009 15:36:01 +
> From: Tom Wright
> Subject: [CIL users] sal.h annotations confuse the preprocessor
> To: cil-users@lists.sourceforge.net
> Message-ID: <49b688e1.8020...@resolversystems.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> I