[Ace-users] [ace-users] ACE_Hash_Map_Manager will not link if static

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Fri Jan 4 17:12:08 CST 2008


Hi,

> Yes I have provided the implementation in the .cpp file. The problem comes when the method (CreateStaticQueue(int
> P_queueID)) tries to access the static attribute the link error occurs. If the attribute and method are changed to
> non-static the code links just fine.

Make sure that you've used the correct syntax in the .cpp file.

Doug



More information about the Ace-users mailing list