[aspectc-user] ac++ compiling

Olaf Spinczyk Olaf.Spinczyk at informatik.uni-erlangen.de
Wed Apr 13 12:12:29 CEST 2005

Hi Jamal,

Jamal Siadat wrote:
> Hi there,
> I have a question about the ac++ compiler in STU mode (in linux). I only
> want to compile the Action aspect from the examples provded in the bundle.
> I've tried: "./ac++ -c main.cc -o main.acc -p. -a Action.ah" to compile it
> however I get:
> main.cc:2: error: No include path in which to find `stdio.h'
> main.cc:2: error: redefinition of `A'
> Action.ah:36: previously defined here
> how can I compile this?
> Thanks alot

if the ac++ parser can't find stdio.h this is probably related to a 
missing or wrong parser configuration file.

Better use ag++ instead of ac++ to compile the example, because it is 
able to generate the configuration file automatically.


More information about the aspectc-user mailing list