Steven -

On Thu, Mar 04, 2010 at 08:45:05PM +0100, Steven Van Acker wrote:
> I would like to use #pragma directives to let my cilly extension skip
> certain functions like so:
>         #pragma myskip somefunc
> The problem I'm running in to, is that pragma attributes need to be
> formatted in a specific way,

        To have #pragmas accepted by CIL, they
must be formatted like GNU __attribute__()s.
See the node "Attribute Syntax" in the gcc Info
file.

Here is an example:

        #pragma my_pragma(foo("Hiho silver!"), bar("yow/whatsup.huh", 123))


/Chris

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to