[aspectc-user] LNK2005 with woven Codes
Yan Mao
maoyan at gmx.net
Fri Oct 20 16:13:37 CEST 2006
Hello,
I got LNK2005 errors by linking the woven codes.
it seems to me, that the same aspect is expanded in multiple cpp files.
I have #ifndef #define and #endif macros in every head file, and I also notice that AC++ compiler generate constant names such as
__ac_have_C__DA_ACSTUTest_aspects_Profiling_ah__
__ac_need_C__DA_ACSTUTest_aspects_Profiling_ah__
But they still dont work. What's wrong with my codes?
I'd like to post the sample codes, hope anyone can help me!
thanks in advance!!
Yan
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ACSTUTest.zip
Type: application/zip
Size: 16581 bytes
Desc: not available
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20061020/dfb17bb2/attachment.zip>
More information about the aspectc-user
mailing list