[aspectc-user] about introducing static const data members

Panu Bloigu panu.bloigu at gmail.com
Sat Jan 5 16:52:31 CET 2008


Hello.

I have an aspect that introduces a static const data member of class 
type into a class. Thanks to Daniel's explanation on this list on 
2007-01-10, I managed to get the syntax right and make ac++ to compile 
the code, yet issuing a warning:

'warning: cannot introduce non-inline function or static attribute into 
"class MyClass". It has to contain link-once code.'

What does that mean exactly? What kind of a problem I'm looking at here? 
I tried this with 1.0pre3.

Thanks,

--Panu



More information about the aspectc-user mailing list