[aspectc-user] generate includes...

Cottenier Thomas-A61008 thomas.cottenier at motorola.com
Thu Feb 9 22:35:40 CET 2006

I'm reusing the hello sample aspect from the add-in.
I noticed that it works fine when I build the project as an application.
If fails when I build it a DLL.
Without the aspect, both configurations work.

-----Original Message-----
From: Olaf Spinczyk [mailto:Olaf.Spinczyk at informatik.uni-erlangen.de] 
Sent: Thursday, February 09, 2006 3:20 PM
To: Cottenier Thomas-A61008
Cc: aspectc-user at aspectc.org
Subject: Re: [aspectc-user] generate includes...

Hi Tom,

the first question that comes into my mind is: do you have an include
guard in your aspect header file?

#ifndef __my_aspect_ah__
#define __my_aspect_ah__

aspect ...

#endif // __my_aspect_ah__

If it still does not work, start with a very simple aspect and extend it

- Olaf

Cottenier Thomas-A61008 wrote:
>Hi all,
>I'm trying to get started with AspectC++ using the add-in for visual 
>The examples work fine.
>Yet, when I try to integrate an aspect into one of my applications, 
>ac++ seems to get into an infinite loop when generating the includes:
>The system cannot find the file specified.
>generating includes ...
>I inserted the stdafx.h header at the beginning of every header file.
>Any ideas?
>aspectc-user mailing list
>aspectc-user at aspectc.org

More information about the aspectc-user mailing list