[comp.lang.c++] at&t 1.2 bug on sun3

west@calgary.UUCP (Darrin West) (04/20/88)

I just ported at&t's v1.2 c++ to a sun3.  It did not
take long, and was not very hard.  (I had previously
ported v1.1).  However, one user file which compiled
under v1.1 no longer works with 1.2.  It is as
follows (stipped down severly).

class message{
public:
    message(message *m);
};


class blog{
public:
    message *X;
    message *x(){return(X);}
};

blog *B;

main(message *m)
{
    *(B->x()) = m;
}


If member function x is not inline, or if x is not a member function
there is no problem.

Has anyone seen this bug?  Does it show up on the vax versions?

Could anyone send me a list of the current fixes to v1.2?

Thanks for everyone's help.  This group eases the strain of using
developing software like c++.

-- 
Darrin West, Newly MSc.				..![ubc-vision,ihnp4]!
Jade@Department of Computer Science		    alberta!calgary!west
University of Calgary.				west@calgary.cdn
Brain fault (cortex dumped)