[aspectc-user] (no subject)
    Sven.Apel at metop-md.de 
    Sven.Apel at metop-md.de
       
    Tue Apr 22 16:05:47 CEST 2003
    
    
  
Hello,
I have tried to build the following example with Visual Studio .Net and 
the AspectC++ Add-In:
#include <stdio.h>
aspect Trace {
        pointcut trace_func () = "% TraceTest::test(...)";
 
        advice execution(trace_func()) : around () 
        {
                printf("before");
                thisJoinPoint->action().trigger();
                printf("after");
        }
};
I get the following error:
./ac_gen.cc(22): error C2011: 'Trace' : 'class' type redefinition
What's the problem with this example?
Greetings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20030422/f595a8ff/attachment.html>
    
    
More information about the aspectc-user
mailing list