Path: utzoo!mnetor!uunet!husc6!bbn!mit-eddie!uw-beaver!ubc-cs!alberta!calgary!west From: west@calgary.UUCP (Darrin West) Newsgroups: comp.lang.c++ Subject: at&t 1.2 bug on sun3 Message-ID: <1548@vaxb.calgary.UUCP> Date: 20 Apr 88 15:30:23 GMT Organization: U. of Calgary, Calgary, Ab. Lines: 41 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)