hi,

  I'm facing the following problem: I'm inserting some function calls
into the code using CIL. The new functions are defined in a separate
header, say funs.h. The naive idea would be to add
  GText "#include \"funs.h\""
to the list of globals, however this doesn't work: if funs.h itself
#includes a system header that is also #included from the processed C
file, then this header gets expanded during the second preprocessing run
and collides with the expanded version from the first run.

  Does anyone have a suggestion for dealing with this? Is there a way to
add something to the file before the first preprocessing pass?

Best,
  Misha

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to