1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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