[aspectc-user] __declspec issues
    Matthias Urban 
    matthias.urban at pure-systems.com
       
    Wed Aug 18 22:31:17 CEST 2004
    
    
  
Hi John,
John Hawkins wrote:
> That's great thankyou
> Got another issue now :-(
> 
>     virtual void setUserName(string& m_sUserName)=0;
> 
> When this line is parsed I get
> 
> c:/DOCUME~1/administrator/mydocu~1/projects/cwss/code/build/ws-axis/c/src/../inc
> lude/axis/server/IMessageData.h:86: error: invalid member declaration near
> token
>  `string'
>   - Aborting
> 
> I assume that this means that "string" cannot be found (when I make it
> char* there are no issues) . Correct?If so, then I'm not sure why it's not
> found because the header file is included.
Is this the ISO string class? If so, it is defined in the namespace std 
and a "using namespace std;" or "std::string" instead of "string" may help.
Matthias
-- 
Matthias Urban                          Phone: +49-391-544569-32
pure-systems GmbH                       Fax:   +49-391-544569-90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3136 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20040818/67100723/attachment.bin>
    
    
More information about the aspectc-user
mailing list