Error The text "*" is unexpected

Discussion in 'C++' started by kaustubh.deo, Oct 1, 2006.

  1. kaustubh.deo

    kaustubh.deo New Member

    Joined:
    Oct 1, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    I get a following error when i am porting to AIX

    "The text "*" is unexpected"
    Code:
    ##Sample code ##
    class A
    {
    ...
    
    }
    
    class B
    {
    friend class A;
    public:
      B(A*& a); // <<--- Error (The text "*" is unexpected)
    ....
    
    }
    any idea why such error is reported by /usr/vacpp/bin/xlC_r compiler

    thnks and regards,
    kaustubh
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice