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

Michael Stilkerich stilkerich at cs.fau.de
Thu Mar 4 09:51:04 CET 2010


Hi Matthias,

On Mar 4, 2010, at 2:03 AM, Matthias Urban wrote:

> thanks for the bug report. Seems that there is a problem with the
> implicit array-to-pointer conversion of the template argument. Should be
> fixed until weekend.

thanks, I'm looking forward to this :-)

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



More information about the aspectc-user mailing list