[aspectc-user] AC++ problem parsing certain template instantiations

Olaf Spinczyk Olaf.Spinczyk at informatik.uni-erlangen.de
Fri Mar 5 17:51:40 CET 2010


Hi Michael,

I have fixed the issue with the annoying warnings about _Pragma in Puma 
svn revision 419. It was a known problem.

Cheers,

Olaf

Michael Stilkerich wrote:
> I found another issue with recent versions (build 172, Puma 395, or newer), which gives me warnings in conjunction with the use of slices.
>
> ******************
> Example:
>
> #ifndef TEST_ASPECT
> #define TEST_ASPECT
> aspect testAspect {
>         advice "A" : slice struct {
>                 int x;
>         };
> };
> #endif
>
> class A {};
>
> *******************
> AG++ output:
> warning: can not undefine macro `_Pragma'
>
> While this is merely a warning, it becomes quite annoying when getting plenty of these for each file in a larger project. Where do this warnings originate from, and is there a way to get rid of them?
>
> Thanks,
>   Michael
> _______________________________________________
> 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