<br><font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">I have tried to build the following example with Visual Studio .Net and the AspectC++ Add-In:</font>
<br>
<br><font size=2 face="Courier New">#include <stdio.h></font>
<br>
<br><font size=2 face="Courier New">aspect Trace {</font>
<br><font size=2 face="Courier New"> pointcut trace_func () = "% TraceTest::test(...)";</font>
<br><font size=2 face="Courier New"> </font>
<br><font size=2 face="Courier New"> advice execution(trace_func()) : around () </font>
<br><font size=2 face="Courier New"> {</font>
<br><font size=2 face="Courier New"> printf("before");</font>
<br><font size=2 face="Courier New"> thisJoinPoint->action().trigger();</font>
<br><font size=2 face="Courier New"> printf("after");</font>
<br><font size=2 face="Courier New"> }</font>
<br><font size=2 face="Courier New">};</font>
<br>
<br><font size=2 face="sans-serif">I get the following error:</font>
<br>
<br><font size=2 face="sans-serif">./ac_gen.cc(22): error C2011: 'Trace' : 'class' type redefinition</font>
<br>
<br><font size=2 face="sans-serif">What's the problem with this example?</font>
<br>
<br><font size=2 face="sans-serif">Greetings</font>