[aspectc-user] exclusion of header file

Matthias Urban matthias.urban at pure-systems.com
Wed Feb 16 12:16:42 CET 2005

Hi Hans,

we've never tried to weave Allegro game library (but definitely will). 
If you want ac++ to ignore allegro.h you can guard the corresponding 
#includes in your application like this:

   #ifndef __puma
   #include <allegro.h>

Hope this helps for now,

Hans VB wrote:
> Hi,
> Weaving in a project using the Allegro game library 
> (http://alleg.sourceforge.net/) gives a huge amount of errors all 
> resulting from inclusion of allegro.h. Is it possible to explicitely 
> forbid AC++ to process a certain .h-file ? I don't necessarily need the 
> functions of Allegro to be part of the join point-model.
> Thanks,
> Hans

Matthias Urban                          Phone: +49-391-544569-32
pure-systems GmbH                       Fax:   +49-391-544569-90

More information about the aspectc-user mailing list