[aspectc-user] generate includes...

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


Olaf,
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.
Thomas


-----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
step-by-step.

- Olaf

Cottenier Thomas-A61008 wrote:
>Hi all,
>
>I'm trying to get started with AspectC++ using the add-in for visual 
>studio.
>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:
>
>Compiling...
>The system cannot find the file specified.
>generating includes ...
>
>I inserted the stdafx.h header at the beginning of every header file.
>Any ideas?
>
>Thanks,
>
>Tom
>
>_______________________________________________
>aspectc-user mailing list
>aspectc-user at aspectc.org
>http://www.aspectc.org/mailman/listinfo/aspectc-user
>  





More information about the aspectc-user mailing list